redirect if logged in
Unanswered
Diamwaw posted this in #help-forum
7 Replies
Dusky Flycatcher
I think you need to modify some code.
@Dusky Flycatcher I think you need to modify some code.
DiamwawOP
That is why I'm here, sir.
Dusky Flycatcher
please send me code section for redirect page.
@Dusky Flycatcher please send me code section for redirect page.
DiamwawOP
Please see the screenshot.
DiamwawOP
Huh
Siamese Crocodile
Hi, the issue might be that account.get() doesn't immediately return the value creating the session. Check if session is correctly initialized and user data is available. And then make sure that the router.push("/dashboard") is being triggered after verifying the user object. My two cents.