loadComponent('Security'); if ($this->request->getParam('_csrfToken') === false) { $this->loadComponent('Csrf'); } $this->loadComponent('CakeDC/Users.UsersAuth'); } }