uberswe / beubo

Beubo is a free, simple, and minimal CMS with unlimited extensibility using plugins
MIT License
21 stars 4 forks source link

[sessions] ERROR! securecookie: the value is not valid #52

Closed uberswe closed 3 years ago

uberswe commented 3 years ago

Sometimes this error will occur which is really annoying to try to track down. I want to open this bugfix so that I or anyone else who searches for this problem sees that it's most likely not an issue with Beubo. You will get this error if your browser has cookies generated by Beubo but you change the SESSION_KEY inside the .env file. The SESSION_KEY changes if you delete the .env and install Beubo or if you simply change the key. This will invalidate all existing cookies and this error will be shown but nothing is probably wrong with Beubo.

[beubo] 2021-01-16T02:43:48+01:00 | [sessions] ERROR! securecookie: the value is not valid