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
d376e1f6b5
commit
17731b9a23
@ -111,7 +111,7 @@ module Invidious::Routes::API::V1::Authentication
|
|||||||
answer = Digest::MD5.hexdigest(answer.downcase.strip)
|
answer = Digest::MD5.hexdigest(answer.downcase.strip)
|
||||||
|
|
||||||
if tokens.empty?
|
if tokens.empty?
|
||||||
return error_template(500, "Erroneous CAPTCHA")
|
return error_json(500, "Erroneous CAPTCHA")
|
||||||
end
|
end
|
||||||
|
|
||||||
found_valid_captcha = false
|
found_valid_captcha = false
|
||||||
|
Loading…
Reference in New Issue
Block a user