Merge pull request #2890 from iv-org/SamantazFox-patch-1

DB: fix inverted arguments in User.update_password()
This commit is contained in:
Samantaz Fox authored and GitHub committed 2022-02-10 22:44:40 +01:00
commit 955e3de56d
1 file changed
+1 -1
+1 -1
View File
@@ -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
# -------------------