Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3401163
D5258.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D5258.diff
View Options
diff --git a/native/account/log-in-panel.react.js b/native/account/log-in-panel.react.js
--- a/native/account/log-in-panel.react.js
+++ b/native/account/log-in-panel.react.js
@@ -11,11 +11,12 @@
validEmailRegex,
oldValidUsernameRegex,
} from 'lib/shared/account-utils';
-import type {
- LogInInfo,
- LogInExtraInfo,
- LogInResult,
- LogInStartingPayload,
+import {
+ type LogInInfo,
+ type LogInExtraInfo,
+ type LogInResult,
+ type LogInStartingPayload,
+ loginActionSources,
} from 'lib/types/account-types';
import type { LoadingStatus } from 'lib/types/loading-types';
import {
@@ -249,9 +250,10 @@
async logInAction(extraInfo: LogInExtraInfo): Promise<LogInResult> {
try {
const result = await this.props.logIn({
+ ...extraInfo,
username: this.usernameInputText,
password: this.passwordInputText,
- ...extraInfo,
+ source: loginActionSources.logInFromNativeForm,
});
this.props.setActiveAlert(false);
await setNativeCredentials({
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 3, 10:49 AM (20 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2611388
Default Alt Text
D5258.diff (1 KB)
Attached To
Mode
D5258: [native/keyserver] add `source` param on log in from native
Attached
Detach File
Event Timeline
Log In to Comment