On Jan 18, 2008 10:56 PM, aranworld <[EMAIL PROTECTED]> wrote: > > But is nate also suggesting that CakePHP developers think it is E-vil > for us to want to have access to the plaintext version of the password > during a Model save? Or are we all in agreement that you need to send > a plaintext version of the desired password to the model, so that we > can actually validate it prior to saving ... to prevent the empty > password problem franky061 mentions above? >
I do exactly that: pass a plaintext version of the password to the model in another field that is NOT part of the model itself, then hash it using the same method that the Auth component uses in order to verify that they have entered the same password in the confirm field. -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
