Page MenuHomePhabricator

D11918.id39916.diff
No OneTemporary

D11918.id39916.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
Sat, Nov 9, 8:23 AM (14 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2447583
Default Alt Text
D11918.id39916.diff (974 B)

Event Timeline