mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-25 15:07:22 +00:00
Add clearer message for login failure
This commit is contained in:
parent
a48bf70d85
commit
dce9ef3e8b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user