Skip to content

Commit 529f0b4

Browse files
committed
Drop useless code
1 parent adf3604 commit 529f0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/migrations/57-external-login.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BEGIN
88
INSERT INTO ctfnote_private.user ("login", "password", "role")
99
VALUES (login_with_extern.name, 'external', login_with_extern.role)
1010
ON CONFLICT ("login") DO UPDATE
11-
SET login = login_with_extern.name, password = 'external', role = login_with_extern.role
11+
SET password = 'external', role = login_with_extern.role
1212
RETURNING
1313
* INTO log_user;
1414
INSERT INTO ctfnote.profile ("id", "username")

0 commit comments

Comments
 (0)