mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-20 15:45:46 -04:00
Update authentication.cr
This commit is contained in:
parent
b66a15e890
commit
8090bb6b8a
@ -9,6 +9,8 @@ module Invidious::Routes::API::V1::Authentication
|
||||
end
|
||||
# get user info
|
||||
if creds
|
||||
locale = env.get("preferences").as(Preferences).locale
|
||||
|
||||
username = creds.username.downcase
|
||||
password = creds.password
|
||||
username = "" if username.nil?
|
||||
|
Loading…
x
Reference in New Issue
Block a user