Is there any easy way I am missing to reset the values saved in the
session under Auth()?

For instance when a logged-in user edits their own profile, and
changes their timezone. The $model->Auth->user('timezone') is still
returning the old timezone from when they first logged in.

Have tried calling login() and startup() again to no avail, the data
structure it expects is not what I have from $this->data in the
controller.

Also found this and tried something similar, but seems a bit kludgey.
http://groups.google.com/group/cake-php/browse_thread/thread/b1e1012e5dfe112a/2fdd09f820a8bcd9?lnk=gst&q=AuthComponent#2fdd09f820a8bcd9

can I propose/offer a method like $model->Auth->reload($this->data)

that would merge the existing stuff under Auth->sessionKey with the
passed array?

Sam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to