diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-05-05 20:51:31 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-05-05 20:51:31 -0500 |
| commit | dce9ef3e8b244ded761d8c2e742202b0955d3b7b (patch) | |
| tree | 8962a1f69e38c7509c9bdadb41e384088ddad03d /src | |
| parent | a48bf70d85bf2fedca6183cae89d31beae1632c5 (diff) | |
| download | invidious-dce9ef3e8b244ded761d8c2e742202b0955d3b7b.tar.gz invidious-dce9ef3e8b244ded761d8c2e742202b0955d3b7b.tar.bz2 invidious-dce9ef3e8b244ded761d8c2e742202b0955d3b7b.zip | |
Add clearer message for login failure
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
