Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3401122
D5259.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
D5259.diff
View Options
diff --git a/lib/types/account-types.js b/lib/types/account-types.js
--- a/lib/types/account-types.js
+++ b/lib/types/account-types.js
@@ -103,7 +103,7 @@
...LogInExtraInfo,
+username: string,
+password: string,
- +source?: ?LogInActionSource,
+ +source: LogInActionSource,
};
export type LogInRequest = {
@@ -136,7 +136,7 @@
+userInfos: $ReadOnlyArray<UserInfo>,
+calendarResult: CalendarResult,
+updatesCurrentAsOf: number,
- +source?: ?LogInActionSource,
+ +source: LogInActionSource,
};
export type UpdatePasswordRequest = {
diff --git a/lib/utils/config.js b/lib/utils/config.js
--- a/lib/utils/config.js
+++ b/lib/utils/config.js
@@ -11,7 +11,7 @@
+resolveInvalidatedCookie: ?(
callServerEndpoint: CallServerEndpoint,
dispatchRecoveryAttempt: DispatchRecoveryAttempt,
- source?: LogInActionSource,
+ source: LogInActionSource,
) => Promise<void>,
+setCookieOnRequest: boolean,
+setSessionIDOnRequest: boolean,
diff --git a/native/account/resolve-invalidated-cookie.js b/native/account/resolve-invalidated-cookie.js
--- a/native/account/resolve-invalidated-cookie.js
+++ b/native/account/resolve-invalidated-cookie.js
@@ -13,7 +13,7 @@
async function resolveInvalidatedCookie(
callServerEndpoint: CallServerEndpoint,
dispatchRecoveryAttempt: DispatchRecoveryAttempt,
- source?: LogInActionSource,
+ source: LogInActionSource,
) {
const keychainCredentials = await fetchNativeKeychainCredentials();
if (!keychainCredentials) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 3, 10:36 AM (21 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2611357
Default Alt Text
D5259.diff (1 KB)
Attached To
Mode
D5259: [web/native/lib] make `source` param required on log in
Attached
Detach File
Event Timeline
Log In to Comment