Page MenuHomePhabricator

D13665.id45020.diff
No OneTemporary

D13665.id45020.diff

diff --git a/keyserver/src/user/login.js b/keyserver/src/user/login.js
--- a/keyserver/src/user/login.js
+++ b/keyserver/src/user/login.js
@@ -56,16 +56,13 @@
}
async function verifyUserLoggedIn(): Promise<IdentityInfo> {
- const userInfoPromise = getUserCredentials();
-
const result = await fetchIdentityInfo();
if (result) {
return result;
}
- const userInfo = await userInfoPromise;
-
+ const userInfo = await getUserCredentials();
const identityInfo = await registerOrLogIn(userInfo);
await saveIdentityInfo(identityInfo);
return identityInfo;

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 3:55 PM (10 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2695250
Default Alt Text
D13665.id45020.diff (584 B)

Event Timeline