We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf3604 commit 529f0b4Copy full SHA for 529f0b4
api/migrations/57-external-login.sql
@@ -8,7 +8,7 @@ BEGIN
8
INSERT INTO ctfnote_private.user ("login", "password", "role")
9
VALUES (login_with_extern.name, 'external', login_with_extern.role)
10
ON CONFLICT ("login") DO UPDATE
11
- SET login = login_with_extern.name, password = 'external', role = login_with_extern.role
+ SET password = 'external', role = login_with_extern.role
12
RETURNING
13
* INTO log_user;
14
INSERT INTO ctfnote.profile ("id", "username")
0 commit comments