]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/ContactController.php
use cookies instead of session to manage login
[syj.git] / application / controllers / ContactController.php
index aabd9f6630f1c804fa04e35a34bc9a60b013cd6a..8ff629ba597b42ce02bc1824842dcd9d50569196 100644 (file)
@@ -83,7 +83,7 @@ class ContactController extends Zend_Controller_Action
         }
 
         if (empty($formData)) {
-            $user = $this->_helper->SyjSession->user();
+            $user = $this->_helper->SyjUserManager->current();
             if ($user) {
                 $form->contact_email->setValue($user->email)
                                     ->setAttrib('readonly', 'true');