]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/PendingController.php
use cookies instead of session to manage login
[syj.git] / application / controllers / PendingController.php
index 7326bdbdb425a4d8ca4aa0bb8add3b45a4139fca..af7135b6546a3aefb7e588eb71099d3e22ff507f 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-/*  This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
+/*  This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
     and is published under the AGPL license. */
 
 class PendingController extends Zend_Controller_Action
@@ -53,7 +53,7 @@ class PendingController extends Zend_Controller_Action
 
                     $title = $this->view->translate("password changed");
                     $this->_helper->ViewRenderer->setViewScriptPathSpec(':controller/password_validate.:suffix');
-                    $this->_helper->SyjSession->logout();
+                    $this->_helper->SyjUserManager->logout();
 
                 } else if (array_key_exists('pending_cancel', $formData)) {
                     if (!$pending->cancel()) {