mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-25 17:06:26 -05:00
Update authentication.cr
This commit is contained in:
parent
8090bb6b8a
commit
f322397735
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue