Skip to content

Commit cdd473e

Browse files
authored
DB: fix inverted arguments in User.update_password()
Closes #2875
1 parent 34fe7f0 commit cdd473e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/invidious/database/users.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ module Invidious::Database::Users
171171
WHERE email = $2
172172
SQL
173173

174-
PG_DB.exec(request, user.email, pass)
174+
PG_DB.exec(request, pass, user.email)
175175
end
176176

177177
# -------------------

0 commit comments

Comments
 (0)