Fixed format

This commit is contained in:
choelzl 2023-03-19 22:03:09 +01:00
parent a773b6cc9c
commit 3d40a57dce
No known key found for this signature in database
GPG key ID: A362EA0491E2EEA0

View file

@ -56,9 +56,9 @@ module Invidious::Routes::Login
user = Invidious::Database::Users.select(email: email) user = Invidious::Database::Users.select(email: email)
if user if user
user_flow_existing(env,email) user_flow_existing(env, email)
else else
user_flow_new(env,email,nil); user_flow_new(env, email, nil)
end end
rescue rescue
return error_template(403, "Invalid Authorization Code") return error_template(403, "Invalid Authorization Code")
@ -461,7 +461,7 @@ module Invidious::Routes::Login
end end
end end
end end
user_flow_new(env, email, password); user_flow_new(env, email, password)
end end
env.redirect referer env.redirect referer