mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-20 15:45:46 -04:00
Update authentication.cr
This commit is contained in:
parent
8090bb6b8a
commit
f322397735
@ -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…
x
Reference in New Issue
Block a user