Skip to content

Commit 7f550f8

Browse files
committed
fix: 운영환경 인증절차 무한 리다이렉션 현상 - test
1 parent 1b71156 commit 7f550f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/ui/src/auth/auth-context.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export function AuthProvider({
247247
]);
248248

249249
useEffect(() => {
250-
if (
250+
/*if (
251251
!loading &&
252252
isInitialCheckDone.current &&
253253
!user &&
@@ -259,7 +259,7 @@ export function AuthProvider({
259259
if (window.location.pathname.startsWith("/login")) return;
260260
window.location.href = getLoginUrl(window.location.href);
261261
}
262-
}
262+
}*/
263263
}, [loading, user, requireAuth, isLoggingOut]);
264264

265265
const logout = async () => {

0 commit comments

Comments
 (0)