You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. After try to logout, the view is not changing / redirecting to Login page. When I refresh the page manually its redirected to Login, so the session was killed sucessfully by logout request from LoginController. Any idea?
exportdefaultfunctionDashboard(){const{ t }=useTranslation();functionlogout(): void{router.delete('/auth/logout',{onError: (error)=>toast.error(error.message??t('errorOccurred')),});}return(<DefaultLayoutloadDependency={true}><Headtitle="Homepage"/><p>HolaSamuel!</p><formonSubmit={logout}><Button>Logout</Button></form></DefaultLayout>);}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. After try to logout, the view is not changing / redirecting to Login page. When I refresh the page manually its redirected to Login, so the session was killed sucessfully by logout request from LoginController. Any idea?
Login Controller:
Routes:
Frontend:
Beta Was this translation helpful? Give feedback.
All reactions