Merge eb950f7635096d9ae794ad45218c36220572f364 into b2ecd8abc3c345642999b7d92b54a6cf241ffdac

This commit is contained in:
Fijxu 2025-12-01 04:38:08 -05:00 committed by GitHub
commit e05328c799
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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