logout 호출 시 전부 login 으로 튕기도록 수정

This commit is contained in:
hyojun.choi 2026-01-15 10:26:39 +09:00
parent 8475dc4b1f
commit 6c23240345

View File

@ -130,12 +130,14 @@ export default function ChangePasswordPop(props) {
} else { } else {
setIsGlobalLoading(false) setIsGlobalLoading(false)
logout() logout()
router.replace('/login', undefined, { shallow: true })
console.log('code not 200 error') console.log('code not 200 error')
} }
}) })
.catch((error) => { .catch((error) => {
setIsGlobalLoading(false) setIsGlobalLoading(false)
logout() logout()
router.replace('/login', undefined, { shallow: true })
console.log('catch::::::::', error) console.log('catch::::::::', error)
}) })
} }