Form Token Auth Error on Save #65

Closed
opened 3 years ago by are0h · 0 comments
are0h commented 3 years ago (Migrated from koodu.ubiqueros.com)

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.

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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: are0h/Fipamo#65
Loading…
There is no content yet.