diff --git a/solution/frontend/src/pages/LoginPage.tsx b/solution/frontend/src/pages/LoginPage.tsx index ed04e24..b4c69ce 100644 --- a/solution/frontend/src/pages/LoginPage.tsx +++ b/solution/frontend/src/pages/LoginPage.tsx @@ -22,8 +22,9 @@ export function LoginPage({selfServe = true}: {selfServe?: boolean}) { const location = useLocation(); const user = useAuthStore((s) => s.user); - const [id, setId] = useState(''); - const [password, setPassword] = useState(''); + // 개발 편의로 기본값을 채워 둔다. 운영에 열기 전에 반드시 빈 문자열로 되돌린다. + const [id, setId] = useState('admin'); + const [password, setPassword] = useState('1234'); const [isSubmitting, setIsSubmitting] = useState(false); // ★ 기본 도착지를 '/' 로 둔다. 앱마다 홈이 다르고(사장님 → 빌더, 내부 → 사업장 목록)