From 78698dcbba92fc748646dfd8aed3658c86ad1624 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Sun, 19 May 2024 19:15:29 -0400 Subject: [PATCH] fix: `DISABLE_API_KEY_LOGIN` should only work when set to true --- app/routes/login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/login.tsx b/app/routes/login.tsx index b095974..c78bf60 100644 --- a/app/routes/login.tsx +++ b/app/routes/login.tsx @@ -35,7 +35,7 @@ export async function loader({ request }: LoaderFunctionArgs) { const data = { oidc: issuer, - apiKey: normal === undefined, + apiKey: normal !== 'true', } if (!data.oidc && !data.apiKey) {