Hi
When I close the tab of my site without logging out and I open it again, it tries to get this url:
Adding this route to routes.php, just makes the browser go round and round trying to connect.
The only way I can log in again is to close the browser completely.
Any help is appreciated
Thanks
Have you checked your AuthController? There's a protected variable with the name $redirectTo that should be configured to point to wherever you want the authenticated user to go when they login.
Thanks for your reply.
I added this:
protected $redirectTo = '/users/login';
But it is doing the same.
AtomicRSA said:
Thanks for your reply.
I added this:
protected $redirectTo = '/users/login';
But it is doing the same.
You need to set the $redirectTo variable to where the users go after they are authenticated.
For example when they log in, they are redirected to /home or /privatearea
Hi
I did change it to:
protected $redirectTo = '/dashboard';
And it does the same :(
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community