From dce9ef3e8b244ded761d8c2e742202b0955d3b7b Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 5 May 2018 20:51:31 -0500 Subject: [PATCH] Add clearer message for login failure --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index 9ed84ca0..02eaec6b 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -565,7 +565,7 @@ post "/login" do |env| env.redirect referer rescue ex - error_message = "Login failed" + error_message = "Login failed. This may be because two-factor authentication is not enabled on your account." next templated "error" end end