mirror of
https://github.com/iv-org/invidious.git
synced 2025-12-03 12:28:29 -06:00
Merge eb950f7635096d9ae794ad45218c36220572f364 into b2ecd8abc3c345642999b7d92b54a6cf241ffdac
This commit is contained in:
commit
e05328c799
@ -98,6 +98,8 @@ module Invidious::Routes::Login
|
||||
|
||||
begin
|
||||
validate_request(tokens[0], answer, env.request, HMAC_KEY, locale)
|
||||
rescue ex : InfoException
|
||||
return error_template(400, InfoException.new("Erroneous CAPTCHA"))
|
||||
rescue ex
|
||||
return error_template(400, ex)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user