From b2c0adbcddc8e9cfc9d3c29a935cb2548aec900a Mon Sep 17 00:00:00 2001 From: Ryan G <78384369+SpongeManiac@users.noreply.github.com> Date: Mon, 12 Jun 2023 23:49:19 -0700 Subject: [PATCH] Update authentication.cr --- src/invidious/routes/api/v1/authentication.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/invidious/routes/api/v1/authentication.cr b/src/invidious/routes/api/v1/authentication.cr index 010e0d7d..326c42cc 100644 --- a/src/invidious/routes/api/v1/authentication.cr +++ b/src/invidious/routes/api/v1/authentication.cr @@ -9,6 +9,7 @@ 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?