mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Merge pull request #2890 from iv-org/SamantazFox-patch-1
DB: fix inverted arguments in User.update_password()
This commit is contained in:
commit
955e3de56d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue