Yes, you should only hash if the field is actually submitted
Am Dienstag, 7. Januar 2014 01:33:00 UTC+1 schrieb David Eschmeyer:
-- So you need to change your callback code here according to the documentation/cookbook.
And you should only submit the field if you actually want to set/change the password
This said, it is wise to not include the field directly in the form, but use an alias - see http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/
Mark
Am Dienstag, 7. Januar 2014 01:33:00 UTC+1 schrieb David Eschmeyer:
this is what i am experiencing, it rehashes the password.did you find a solution to not rehash?this image is kinda what id like to do, a simple check before hashing to see if the same value was posted back. help appreciated much thanks ahead!
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment