Page MenuHomePhabricator

D5259.diff
No OneTemporary

D5259.diff

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

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)

Event Timeline