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
3a7734cb2f
commit
b2c0adbcdd
@ -9,6 +9,7 @@ module Invidious::Routes::API::V1::Authentication
|
|||||||
end
|
end
|
||||||
# get user info
|
# get user info
|
||||||
if creds
|
if creds
|
||||||
|
locale = env.get("preferences").as(Preferences).locale
|
||||||
username = creds.username.downcase
|
username = creds.username.downcase
|
||||||
password = creds.password
|
password = creds.password
|
||||||
username = "" if username.nil?
|
username = "" if username.nil?
|
||||||
|
Loading…
Reference in New Issue
Block a user