mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Possible fix for incorrect token
It appears that sometimes the first time you open the page, the token is not synced correctly or something, causing the CSRF check to fail. Starting the session before any HTML is outputted seems to be a recommended first step to troubleshooting PHP session errors. I have tried to test this fix, but right now I don't know exactly what triggers the error.
This commit is contained in:
Reference in New Issue
Block a user