Skip to content

Commit 955e3de

Browse files
authored
Merge pull request #2890 from iv-org/SamantazFox-patch-1
DB: fix inverted arguments in User.update_password()
2 parents 34fe7f0 + cdd473e commit 955e3de

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)