Why not validate before hashing the password? The article below outlines how to handle validation and comparing two password fields. Also handles things like unique username and email addresses.
http://edwardawebb.com/programming/php-programming/cakephp/complex-validation-cakephp-12 On Jan 26, 11:52 am, Ivan <ibust...@ing.uchile.cl> wrote: > Is there any way to get the Auth component to hash the "confirm > password" input as well? I think that if the password's being hashed > for security reasons, then it's inconsistent not to be able to set the > option of hashing some other password type input. (I know it can > always be hashed with $this->Auth->password(), but I wonder if it > could be set to have it done "automagically", in cakephp terms). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---