Thursday, December 11, 2014

Re: CakePHP 3.0, how to change user password?

The same as in 2.x basically applies.
You hash your form field and save it.

If you want to send an email for "password forgotten", use a token and let the user
afterwards chose a new one. Don't send the plain password.

You can also look into
https://github.com/dereuromark/cakephp-tools/blob/cake3/docs/Behavior/Passwordable.md

mark



Am Donnerstag, 11. Dezember 2014 17:14:10 UTC+1 schrieb frocco:
Hi All,

Looking for an example that allows users to change their password.

Thank you

--
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/d/optout.

No comments: