feat: implement force logout event and update navigation redirects
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 1m37s
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 1m37s
This commit is contained in:
@@ -341,7 +341,7 @@ function handleDeleteSuccess() {
|
||||
}).finally(() => {
|
||||
// Clear client-side auth and redirect, regardless of logout response
|
||||
logoutUser()
|
||||
router.push('/auth/login')
|
||||
router.push('/')
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user