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