CM 회원가입 추가

This commit is contained in:
2025-08-10 13:04:42 +09:00
parent a2b081eb10
commit 57e363e1a3
33 changed files with 5280 additions and 4 deletions
@@ -13,6 +13,11 @@ const AuthWrapper = ({ children }: { children: React.ReactNode }) => {
const { userInfo, setUserInfo } = useUserStore((state) => state);
async function authCheck() {
// 로그인 페이지에서는 인증 체크를 건너뜀
if (window.location.pathname === '/auth/login') {
return;
}
const userId = getCookie(AUTH_USER_ID);
if (!userId) {
throw new Error("Missing required authentication tokens");