Form Token Auth Error on Save #65

Closed
opened 2021-11-14 22:26:57 +01:00 by are0h · 0 comments
are0h commented 2021-11-14 22:26:57 +01:00 (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 participant
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: projects/fipamo#65
No description provided.