Remove redirection of unknown user to #signup

This commit is contained in:
syeopite 2023-07-26 14:34:43 -07:00
parent 0f20d2d8ee
commit a662a468d5
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A

View File

@ -62,7 +62,7 @@ module Invidious::Routes::Login
env.response.cookies << cookie
end
else
return self.signup(env)
return error_template(401, "Wrong username or password")
end
env.redirect referer