fix: DISABLE_API_KEY_LOGIN should only work when set to true
This commit is contained in:
parent
260fb870e1
commit
78698dcbba
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user