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

dadub's avatar
Level 1

Redirection quand la session se termine

Hi everybody,

When my session end, I have this message :

https://www.dropbox.com/s/6gtk3156p18sosr/Capture%20d%27%C3%A9cran%202020-05-20%2009.06.08.png?dl=0

I would like to add a redirection when the session is end.

Do you know where can I change that redirection ?

Thank you in advance.

0 likes
1 reply
siangboon's avatar

it seem that the nav is having the authenticated user first name and when you logout or session ended the firstname hit error, i guess, probably you can check if authenticated user exist then only show name if not then show a "Guest" or simply do not display it....

 @if (!Auth::guest())
     ...

Please or to participate in this conversation.