Form Token Auth Error on Save
#65
Closed
opened 3 years ago by are0h
·
0 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
To authenticate page editing, the system creates a form token that it passes to the front end and compares it to what is set when a form is submitted. Easy peasy.
However, I had a line in there that reset the token on form submission but didn't pass the new token to the front end because the page doesn't refresh when edits are made.
I'll probably just turn off the token reset as it seems a bit like overkill until I find a better way to do it.