mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 15:58:14 +00:00
fix: DISABLE_API_KEY_LOGIN should only work when set to true
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user