mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-28 15:38:30 +00:00
Update authentication.cr
This commit is contained in:
parent
8090bb6b8a
commit
f322397735
@ -51,7 +51,7 @@ module Invidious::Routes::API::V1::Authentication
|
|||||||
begin
|
begin
|
||||||
validate_request(captcha_response.tokens[0], answer, env.request, HMAC_KEY, locale)
|
validate_request(captcha_response.tokens[0], answer, env.request, HMAC_KEY, locale)
|
||||||
rescue ex
|
rescue ex
|
||||||
return error_jsonror(400, ex)
|
return error_json(400, ex)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# send captcha
|
# send captcha
|
||||||
|
Loading…
Reference in New Issue
Block a user