mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-03 10:56:51 -04: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
|
||||
validate_request(captcha_response.tokens[0], answer, env.request, HMAC_KEY, locale)
|
||||
rescue ex
|
||||
return error_jsonror(400, ex)
|
||||
return error_json(400, ex)
|
||||
end
|
||||
else
|
||||
# send captcha
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue