Can't login anymore
Since today I cannot login anymore on local for some reason.
When clicking login, it just redirects back to the login page with no errors in the console or network tabs.
Everything seems to be working fine on staging & production, so it's only local.
My current env:
6 Replies
You you probably changed the encryption key
Did you do any updates recently? Maybe Laravel 11 upgrade?
I guess it's the session. Do have have a
SESSION_DOMAIN
set?This line of code fixed it
The encryption key was not changed and I tried with a newly generated one, but it had the same result
My collegue had the same issue so I don't think it's the encryption key
When setting a
SESSION_DOMAIN
I was getting like an infinite loop of the page has expired alertThat sounds very weird 🤔
Yeah it only occured on localhost when the language was on english, very strange
I don't know what it could be