Page MenuHomePhabricator

D13952.id45890.diff
No OneTemporary

D13952.id45890.diff

diff --git a/keyserver/src/responders/user-responders.js b/keyserver/src/responders/user-responders.js
--- a/keyserver/src/responders/user-responders.js
+++ b/keyserver/src/responders/user-responders.js
@@ -32,6 +32,8 @@
userSettingsTypes,
notificationTypeValues,
authActionSources,
+ recoveryFromDataHandlerActionSources,
+ recoveryFromReduxActionSources,
} from 'lib/types/account-types.js';
import {
type ClientAvatar,
@@ -781,7 +783,15 @@
initialContentEncryptedMessage,
initialNotificationsEncryptedMessage,
doNotRegister,
+ source,
} = request;
+ if (
+ Object.values(recoveryFromReduxActionSources).includes(source) ||
+ Object.values(recoveryFromDataHandlerActionSources).includes(source)
+ ) {
+ const data = { userID, source };
+ console.log(`Session recovery attempted ${JSON.stringify(data)}`);
+ }
const calendarQuery = normalizeCalendarQuery(request.calendarQuery);
// 1. Check if there's already a user for this userID. Simultaneously, get

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 6:49 PM (14 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580489
Default Alt Text
D13952.id45890.diff (1016 B)

Event Timeline