From a662a468d504b7dc4bd18ecf30d333e9c2535d91 Mon Sep 17 00:00:00 2001 From: syeopite Date: Wed, 26 Jul 2023 14:34:43 -0700 Subject: [PATCH] Remove redirection of unknown user to #signup --- src/invidious/routes/login.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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