Here's how I do it:
private function reload () {
$this->Auth->login($this->User->read());
}
So just call $this->reload() from your controller.
--
View this message in context:
http://n2.nabble.com/%24this-%3EAuth-%3Euser-not-refreshing-after-edit-tp526651p2106151.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---