about error 'CSRF validation failed' for developers

Hello everyone. This is a continuation of the discussion http://forum.phalconphp.com/discussion/1091/csrf-validation-failed Dear developers, explain the reason for the error 'CSRF validation failed' I only make one change to the project vokuro.

ControllerBase.php ```php public function beforeExecuteRoute(Dispatcher $dispatcher) { //Get the current identity $identity = $this->auth->getIdentity(); if (!$identity) { if ($controllerName != 'session') { $dispatcher->forward(array( 'controller' => 'session', 'action' => 'login' )); return false; } } ...... ``` The error occurs on the login page. My goal is to protect the entire application from unauthorized users


Hmm .... Everything works fine on Windows. What's wrong with my Linux and php???