osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
Mod script produces Valid CSRF Token Required error
I have created a new page in the Admin > Dashboard of my osTicket v.1.10.1.
I thought that would be the hard part, but no!
I am now working on a PHP script that presents a form with a list of radio buttons. The admin can make a selection and the resulting value is saved on the server in a .txt file.
Easy enough, I'd expect. And actually, I have the script working perfectly on the same server outside of osTicket.
But when the script is run from within osTicket and the form is submitted, it results in the dreaded Valid CSRF Token Required error.
It seems to me that I need to somehow infuse my form with a CSRF token, but how is this done?