Disable default form security token - our sessions are identified by URL, so this won't work! (Although we could possibly find a better way than simply disabling this in the future)

This commit is contained in:
Sean Harvey 2008-04-28 03:10:13 +00:00
parent dac113fe3d
commit 20207a8dee

View File

@ -83,6 +83,10 @@ abstract class MultiForm extends Form {
* takes the fields, actions and validation (if any) for the step, setting up the form.
*/
public function init() {
// Disable security token. We tie a form to a session by URL.
// @TODO Is there a better way than simply disabling this?
$this->disableSecurityToken();
// Set up the session
$this->setSession();