From f362ed07be2aa1b9bacdc097aad8f9b9ac4b6994 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 4 Jul 2008 01:07:33 +0000 Subject: [PATCH] BUGFIX Disable security token inherited from Form. We do not require this as we tie a MultiForm instance to a MultiFormSession via a URL parameter --- code/MultiForm.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/MultiForm.php b/code/MultiForm.php index 5bb4f6e..2a3c4b9 100644 --- a/code/MultiForm.php +++ b/code/MultiForm.php @@ -124,6 +124,9 @@ abstract class MultiForm extends Form { if($currentStep->loadData()) { $this->loadDataFrom($currentStep->loadData()); } + + // Disable security token - we tie a form to a session ID so this is not required + $this->disableSecurityToken(); } /**