From b5998d1dc60b0b5bebd7712696d4b92a3e3d3d12 Mon Sep 17 00:00:00 2001 From: Tal Borenstein Date: Mon, 18 Nov 2024 15:46:15 +0200 Subject: [PATCH] fix(ui): auth type defaults to NOAUTH --- keep-ui/shared/lib/server/getConfig.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keep-ui/shared/lib/server/getConfig.ts b/keep-ui/shared/lib/server/getConfig.ts index 44b11f30e..cec63a630 100644 --- a/keep-ui/shared/lib/server/getConfig.ts +++ b/keep-ui/shared/lib/server/getConfig.ts @@ -15,6 +15,9 @@ export function getConfig() { authType = AuthenticationType.DB; } else if (authType === NO_AUTH) { authType = AuthenticationType.NOAUTH; + } else { + // Default to NOAUTH + authType = AuthenticationType.NOAUTH; } // we want to support preview branches on vercel