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
46cb5dfa1c
commit
0dc8991f8e
@ -4,7 +4,7 @@ module Invidious::Routes::API::V1::Authentication
|
|||||||
body_io = env.request.body
|
body_io = env.request.body
|
||||||
body_json = "{}"
|
body_json = "{}"
|
||||||
if body_io
|
if body_io
|
||||||
body_json = env.request.body!.gets_to_end
|
body_json = env.request.body.not_nil!.gets_to_end
|
||||||
end
|
end
|
||||||
if CONFIG.registration_enabled
|
if CONFIG.registration_enabled
|
||||||
creds = nil
|
creds = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user