fix: DISABLE_API_KEY_LOGIN should only work when set to true

This commit is contained in:
Aarnav Tale 2024-05-19 19:15:29 -04:00
parent 260fb870e1
commit 78698dcbba
No known key found for this signature in database

View File

@ -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) {