diff --git a/cake/libs/controller/components/security.php b/cake/libs/controller/components/security.php index d1a3b6827..4fb348c8a 100644 --- a/cake/libs/controller/components/security.php +++ b/cake/libs/controller/components/security.php @@ -135,7 +135,7 @@ class SecurityComponent extends Object { $this->__authRequired($controller); $this->__loginRequired($controller); - if ((!isset($controller->params['requested']) || $controller->params['requested'] != 1) && $this->RequestHandler->isPost()) { + if ((!isset($controller->params['requested']) || $controller->params['requested'] != 1) && ($this->RequestHandler->isPost() || $this->RequestHandler->isPut())) { $this->__validatePost($controller); }