you can speciify which fields to update with the 3rd parameter of
Model->save():
http://api.cakephp.org/1.2/class_model.html#ebe42ae387be89985b5a35dd428f5c81

On 14 jan, 11:03, Mike Digital Egg <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using the Auth component for 1.2 and it is all working fine
> except when I go to edit a user I want to have the option to leave the
> password field blank and have itleave the password unchanged. Whenever
> I do this it rehashes the password using '' as the password. I have
> tried using unset( $this->data['User']['password'] ); so that the
> password field is not added to the query but it does not work. Any
> ideas how I would do this?
>
> Thanks
>
> Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to