Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

protarr's avatar

How to NOT return to previous route when session is lost (Laravel 8/Jetstream).

Hi. I am using Laravel 8 with Jetstream (god, why) for the first time.

When session is lost and I authenticate again, I return to the route I were before the session was lost. What I want is to avoid this behaviour. After session lost and log in again, I need to be sent to a specific route (like '/', or HOME, for instance).

0 likes
1 reply

Please or to participate in this conversation.