Hey you might be using auth component.. so you need to use $this->Auth->password(); to hash your confirm password.. and your password field is automatically hashed using this function
On Tue, Jul 14, 2009 at 8:09 AM, Dave Maharaj :: WidePixels.com < [email protected]> wrote: > I can not get my confirm passwords to match. > > I have: > $this->data['User']['password_confirm'] = > Security::hash($this->data['User']['password_confirm']) ; > > but when I debug > debug($this->data['User']['password_confirm']) ; > debug($this->data['User']['password']) ; > > both come back different even though i just enter 123 for both. > > Am i missing something? > > Dave > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
