Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3516974
D13665.id45020.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
584 B
Referenced Files
None
Subscribers
None
D13665.id45020.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D13665: [keyserver] simplify verifyUserLoggedIn
Attached
Detach File
Event Timeline
Log In to Comment