diff --git a/frontend/src/components/auth/LoginPage.tsx b/frontend/src/components/auth/LoginPage.tsx index 26fc61c..57df071 100644 --- a/frontend/src/components/auth/LoginPage.tsx +++ b/frontend/src/components/auth/LoginPage.tsx @@ -8,6 +8,7 @@ interface LoginPageProps { const GOOGLE_CLIENT_ID = import.meta.env.VITE_GOOGLE_CLIENT_ID; const IS_DEV = import.meta.env.DEV; +const DEV_LOGIN_ENABLED = IS_DEV || import.meta.env.VITE_ENABLE_DEV_LOGIN === 'true'; function useGoogleIdentity(onCredential: (credential: string) => void) { const btnRef = useRef(null); @@ -136,7 +137,7 @@ const LoginPage = ({ onGoogleLogin, onDevLogin }: LoginPageProps) => { )} {/* Dev Login */} - {IS_DEV && ( + {DEV_LOGIN_ENABLED && ( <>