Ok, you want to change a password in cake.
you have to have somthing like this:
old password: _
new password:
confirm new password:
right??
so first you have to make a method in UsersController called
changePassword(){}
and a view in
how to hash?
i am new to cakephp
On Wednesday, December 26, 2012 10:11:26 AM UTC-5, euromark wrote:
just follow the documentation:
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords
you might also want to read
Start here like we all did
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html
then you won't be so new.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 27 Dec 2012, at 05:34, sweety fathimaa@gmail.com wrote:
how to hash?
i am new to cakephp
You should never modify the database manually. You should have cakephp
update the database for you.
On Dec 26, 2012 1:15 AM, crush t...@gurske.com wrote:
Turn debug to 2 in the config file. Login with the new password and copy
the password string it posts in the debug at the bottom of the page
just follow the documentation:
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords
you might also want to read
http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/
use an alias field, hash and store the password. thats all there is to
--
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group,
That's nice.
On Dec 25, 2012 7:07 PM, sweety fathimaa@gmail.com wrote:
--
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 post to this
did you try google?
Am Dienstag, 25. Dezember 2012 15:24:10 UTC+1 schrieb sweety:
--
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 post to
You can update it the same way you created it.
On Dec 25, 2012 7:11 PM, euromark dereurom...@gmail.com wrote:
did you try google?
Am Dienstag, 25. Dezember 2012 15:24:10 UTC+1 schrieb sweety:
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter
Turn debug to 2 in the config file. Login with the new password and copy
the password string it posts in the debug at the bottom of the page after
you try to login. Paste that into the database in the password field for
the appropriate user.
--
Like Us on FaceBook
10 matches
Mail list logo