Support the ongoing development of Laravel.io →
Authentication Security Session
Last updated 4 months ago.
0

Hmm... one step further.

Google Chrome is filling in my username and password automatically, and somehow, when the App::before filter redirects the visitor back to the loginpage, the POST route that triggers the attempt login functionality is triggered. So the user is logged in again..

Last updated 4 months ago.
0

Okay, I fixed it by changing the POST route to a different URL.. Both my GET (show login view) and POST (attempt login) routes where using /login as the URI.

Apparently Chrome was automatically using the POST route when the username and password were set to be remembered by the browser.

Last updated 4 months ago.
0

Sign in to participate in this thread!

Cloudways

Your banner here too?

24creative 24creative Joined 29 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.