Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3294589
D11268.id37952.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
740 B
Referenced Files
None
Subscribers
None
D11268.id37952.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
@@ -146,6 +146,14 @@
return identity_info;
} catch (err) {
console.warn('Failed to register user: ' + getMessageForException(err));
+ if (userInfo.usingIdentityCredentials) {
+ console.warn(
+ 'Please re-enter `nix develop` and provide new user credentials' +
+ '\nFor keyservers running in Docker, set different ' +
+ 'user credentials in COMM_JSONCONFIG_secrets_user_credentials, ' +
+ 'remove all tables from the database, and restart',
+ );
+ }
throw new ServerError('identity_auth_failed');
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 7:33 PM (21 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2531492
Default Alt Text
D11268.id37952.diff (740 B)
Attached To
Mode
D11268: [keyserver] Instruct to restart nix if login / register fails in the new flow
Attached
Detach File
Event Timeline
Log In to Comment