2021-06-24 CakePHP2 to 3 csrf token cakephp book.cakephp.org book.cakephp.org $token = $this->Security->Session->read('_Token'); $token = $this->request->getParam('_csrfToken');