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
6014ee9cc1
commit
3a7734cb2f
@ -64,7 +64,7 @@ module Invidious::Routes::API::V1::Authentication
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
# send captcha
|
# send captcha
|
||||||
captcha = Invidious::User::Captcha.generate_text(HMAC_KEY, ":captcha")
|
captcha = Invidious::User::Captcha.generate_text(HMAC_KEY, ":register")
|
||||||
# puts captcha
|
# puts captcha
|
||||||
response = JSON.build do |json|
|
response = JSON.build do |json|
|
||||||
json.object do
|
json.object do
|
||||||
|
Loading…
Reference in New Issue
Block a user