diff --git a/src/invidious/routes/login.cr b/src/invidious/routes/login.cr index 1a243408..48d8d88d 100644 --- a/src/invidious/routes/login.cr +++ b/src/invidious/routes/login.cr @@ -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