diff --git a/src/invidious/database/users.cr b/src/invidious/database/users.cr index 26be42702..f62b43ea3 100644 --- a/src/invidious/database/users.cr +++ b/src/invidious/database/users.cr @@ -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 # -------------------