/ Published in: PHP
A very simple example of how you can refresh the data into an Identity instance generated by Zend Auth
- $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
You need to login to post a comment.