Hey, Shouldn't you change it in db and update the auth data from the db ? look at Auth/session how the data is stored.
HTH, On Wed, Apr 23, 2008 at 8:38 PM, Zoltan <[EMAIL PROTECTED]> wrote: > > I've got a section where I'd like to let a user change their username, > with something like: > > e.g. $this->Auth->user('username') = $this->data['User']['name']; > > However this gives an error, is there a way to do this properly? > > Zoltan > www.YYZtech.ca > > > -- Marcin Domanski http://kabturek.info --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---