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

This commit is contained in:
2026-03-05 09:52:19 -05:00
parent 992dd8423f
commit ccfc710753
8 changed files with 38 additions and 10 deletions

View File

@@ -225,7 +225,7 @@ async function signOut() {
try {
await fetch('/api/auth/logout', { method: 'POST' })
logoutUser()
router.push('/auth')
router.push('/')
} catch {
// Optionally show error
}