_Invalid security token_ error when i try to save edited page. And loss of all changes.
Did you happen to do like me? I used my browser's back button to return to the form that I edited before. Thus causing the form to use an invalid form token..
Grav should be able to handle this though since this is veeery common. At least save the edited text in the editor using localstorage or something else..
karlingen, in my case i had lost authorization and had to enter credentials again. after successful login i had previous version of my page.
Might be an issue with PHP's session expiry
We're investigating a Session based issue that is likely causing this. Hopefully have an update on this soon.
Fixed here.. https://github.com/getgrav/grav/commit/234555b20898944670a4512523674aa8b3f647a1
release coming soon...
Nothing has changed for me... After 30 min and less session has expired. Sometimes with _Invalid security token_, sometimes without.
Grav v1.4.1 - Admin v1.7.1.
_Cache lifetime_ in configuration - 604800 sec
_Session timeout_ in admin - 7200sec
Then i can't replicate at this time, and i'm going to need a zip from your with a test site that I can use to replicate it. thanks!
login:password: admin:Admin2018
Session expires after less then 1 hour of inactivity
I will test this. Does it matter what page you are sitting on? The page edit view perhaps?
It does not matter. Thanks.
Most helpful comment
We're investigating a Session based issue that is likely causing this. Hopefully have an update on this soon.