mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 09:07:48 +01:00
DB: fix inverted arguments in User.update_password()
Closes https://github.com/iv-org/invidious/issues/2875
This commit is contained in:
parent
34fe7f04fa
commit
cdd473e195
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ module Invidious::Database::Users
|
||||||
WHERE email = $2
|
WHERE email = $2
|
||||||
SQL
|
SQL
|
||||||
|
|
||||||
PG_DB.exec(request, user.email, pass)
|
PG_DB.exec(request, pass, user.email)
|
||||||
end
|
end
|
||||||
|
|
||||||
# -------------------
|
# -------------------
|
||||||
|
|
Loading…
Reference in a new issue