Fixed CSRF prevention checks for REST calls, moved CSRF initialization to Bootstrap
This commit is contained in:
parent
0177e40083
commit
be7cae4408
4 changed files with 33 additions and 11 deletions
|
@ -98,6 +98,9 @@ class LoginController extends Zend_Controller_Action
|
|||
{
|
||||
$auth = Zend_Auth::getInstance();
|
||||
$auth->clearIdentity();
|
||||
// Unset all session variables relating to CSRF prevention on logout
|
||||
$csrf_namespace = new Zend_Session_Namespace('csrf_namespace');
|
||||
$csrf_namespace->unsetAll();
|
||||
$this->_redirect('showbuilder/index');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue