I'm having some problems with my website. I've made a custom module for my website and the only thing it does at the moment is showing the profile of a member and a form for editting the profile. The form has worked fine, but when I try to save the form now, silverstripe shows an error :
FATAL ERROR: Security ID doesn't match, possible CRSF attack.
After some research I found out that you can disable the security with the disableSecurityToken function. I did this and in the save function of the form I printed the Data array. It's empty except for the url and executeForm values which are get values. The rest of the form is post.
Does anybody know what to do?
Thanks in advance!