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
8058254411
commit
950c61d21e
@ -83,8 +83,8 @@ module Invidious::Routes::API::V1::Authentication
|
||||
# process captcha response
|
||||
locale = env.get("preferences").as(Preferences).locale
|
||||
|
||||
username = creds.username.downcase
|
||||
password = creds.password
|
||||
username = captcha_response.username.downcase
|
||||
password = captcha_response.password
|
||||
username = "" if username.nil?
|
||||
password = "" if password.nil?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user