Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(frontend): prevent /auth/admin redirect to /auth (#18377)

boojack6d7de0b233ba
diff --git a/frontend/src/utils/auth.ts b/frontend/src/utils/auth.ts
index d8a13baa9f..4930bb4184 100644
--- a/frontend/src/utils/auth.ts
+++ b/frontend/src/utils/auth.ts
@@ -5,6 +5,7 @@ import {
AUTH_OIDC_CALLBACK_MODULE,
AUTH_PASSWORD_FORGOT_MODULE,
AUTH_PASSWORD_RESET_MODULE,
+ AUTH_SIGNIN_ADMIN_MODULE,
AUTH_SIGNIN_MODULE,
AUTH_SIGNUP_MODULE,
} from "@/router/auth";
@@ -12,6 +13,7 @@ import {
export const isAuthRelatedRoute = (routeName: string) => {
return [
AUTH_SIGNIN_MODULE,
+ AUTH_SIGNIN_ADMIN_MODULE,
AUTH_SIGNUP_MODULE,
AUTH_MFA_MODULE,
AUTH_PASSWORD_RESET_MODULE,