mirror of
https://github.com/tale/headplane.git
synced 2026-08-25 11:56:49 +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 = {
|
const data = {
|
||||||
oidc: issuer,
|
oidc: issuer,
|
||||||
apiKey: normal === undefined,
|
apiKey: normal !== 'true',
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data.oidc && !data.apiKey) {
|
if (!data.oidc && !data.apiKey) {
|
||||||
|
|||||||
Reference in New Issue
Block a user