DB: fix inverted arguments in User.update_password()

Closes https://github.com/iv-org/invidious/issues/2875
pull/2890/head
Samantaz Fox 3 years ago committed by GitHub
parent 34fe7f04fa
commit cdd473e195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -171,7 +171,7 @@ module Invidious::Database::Users
WHERE email = $2
SQL
PG_DB.exec(request, user.email, pass)
PG_DB.exec(request, pass, user.email)
end
# -------------------

Loading…
Cancel
Save