Page MenuHomePhabricator

D11918.diff
No OneTemporary

D11918.diff

diff --git a/keyserver/src/creators/account-creator.js b/keyserver/src/creators/account-creator.js
--- a/keyserver/src/creators/account-creator.js
+++ b/keyserver/src/creators/account-creator.js
@@ -262,10 +262,7 @@
viewer.setNewCookie(userViewerData);
await setNewSession(viewer, calendarQuery, 0);
- await Promise.all([
- viewerAcknowledgmentUpdater(viewer, policyTypes.tosAndPrivacyPolicy),
- processAccountCreationCommon(viewer),
- ]);
+ await processAccountCreationCommon(viewer);
ignorePromiseRejections(
createAndSendReservedUsernameMessage([
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
@@ -720,6 +720,7 @@
socialProof,
signedIdentityKeysBlob,
initialNotificationsEncryptedMessage,
+ shouldMarkPoliciesAsAcceptedAfterCookieCreation: !existingUserID,
});
}

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 2, 12:32 PM (21 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2607598
Default Alt Text
D11918.diff (974 B)

Event Timeline