Return to Snippet

Revision: 56856
at April 19, 2012 15:52 by dimitris

Initial Code
$this->auth = Zend_Auth::getInstance();
// Creating user object using the email stored in session
$user = new Master_Model_User( $this->auth->getIdentity()->email ); 
$user->status = 1;
$user->Save(); // Saves user data

Initial URL

Initial Description
A very simple example of how you can refresh the data into an Identity instance generated by Zend Auth

Initial Title
Refreshing Zend Framework Auth Identity

Initial Tags

Initial Language