F
Filament3mo ago
Azorky

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:
SESSION_DRIVER=file
SESSION_LIFETIME=120
SESSION_DRIVER=file
SESSION_LIFETIME=120
6 Replies
toeknee
toeknee3mo ago
You you probably changed the encryption key
Dennis Koch
Dennis Koch3mo ago
Did you do any updates recently? Maybe Laravel 11 upgrade? I guess it's the session. Do have have a SESSION_DOMAIN set?
Azorky
Azorky3mo ago
This line of code fixed it
No description
Azorky
Azorky3mo ago
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 alert
Dennis Koch
Dennis Koch3mo ago
That sounds very weird 🤔
Azorky
Azorky3mo ago
Yeah it only occured on localhost when the language was on english, very strange I don't know what it could be
Want results from more Discord servers?
Add your server