mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
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
This commit is contained in:
parent
58b7bb2210
commit
f362ed07be
@ -124,6 +124,9 @@ abstract class MultiForm extends Form {
|
|||||||
if($currentStep->loadData()) {
|
if($currentStep->loadData()) {
|
||||||
$this->loadDataFrom($currentStep->loadData());
|
$this->loadDataFrom($currentStep->loadData());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Disable security token - we tie a form to a session ID so this is not required
|
||||||
|
$this->disableSecurityToken();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user