mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-28 07:28:31 +00:00
Update authentication.cr
This commit is contained in:
parent
17731b9a23
commit
9f2ba07367
@ -126,7 +126,7 @@ module Invidious::Routes::API::V1::Authentication
|
|||||||
end
|
end
|
||||||
|
|
||||||
if !found_valid_captcha
|
if !found_valid_captcha
|
||||||
return error_template(500, error_exception)
|
return error_json(500, error_exception)
|
||||||
end
|
end
|
||||||
# create user
|
# create user
|
||||||
sid = Base64.urlsafe_encode(Random::Secure.random_bytes(32))
|
sid = Base64.urlsafe_encode(Random::Secure.random_bytes(32))
|
||||||
|
Loading…
Reference in New Issue
Block a user