Update authentication.cr

This commit is contained in:
Ryan G 2023-06-12 21:56:27 -07:00
parent 8090bb6b8a
commit f322397735

View File

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