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
320a3bbf34
commit
96edb37f5b
@ -12,7 +12,7 @@ module Invidious::Routes::API::V1::Authentication
|
|||||||
end
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
captcha_response = CaptchaRespone.from_json(env.request.body || "{}")
|
captcha_response = CaptchaResponse.from_json(env.request.body || "{}")
|
||||||
rescue JSON::SerializableError
|
rescue JSON::SerializableError
|
||||||
captcha_response = nil
|
captcha_response = nil
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user