diff --git a/lib/Cake/Controller/Component/SecurityComponent.php b/lib/Cake/Controller/Component/SecurityComponent.php index df4a7899f..204209db0 100644 --- a/lib/Cake/Controller/Component/SecurityComponent.php +++ b/lib/Cake/Controller/Component/SecurityComponent.php @@ -208,6 +208,9 @@ class SecurityComponent extends Component { } } $this->_generateToken($controller); + if ($isPost) { + unset($controller->request->data['_Token']); + } } /**