mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-29 07:58:35 +00:00
Update authentication.cr
This commit is contained in:
parent
0dc8991f8e
commit
de238ebc48
@ -41,8 +41,7 @@ module Invidious::Routes::API::V1::Authentication
|
|||||||
password = password.byte_slice(0, 55)
|
password = password.byte_slice(0, 55)
|
||||||
# send captcha if enabled
|
# send captcha if enabled
|
||||||
if CONFIG.captcha_enabled
|
if CONFIG.captcha_enabled
|
||||||
# captcha_response = nil
|
captcha_response = nil
|
||||||
put body_json
|
|
||||||
captcha_response = CaptchaResponse.from_json(body_json)
|
captcha_response = CaptchaResponse.from_json(body_json)
|
||||||
# begin
|
# begin
|
||||||
# rescue ex
|
# rescue ex
|
||||||
|
Loading…
Reference in New Issue
Block a user