Re: editing user data when password doesn't change

2011-12-22 Thread Sam Sherlock
Intercept the password in beforeFilter

- S
On 22 Dec 2011 02:08, elogic asymo...@elogicmedia.com.au wrote:

 Hi All,

 I am using Auth and I have an edit user details page, the password is
 coming though hashed into the password field, if the user doesn't
 change the password, the hashed password get re-hashed and therefore
 it will be unknown to the user. How do I get around this issue?

 Thanks

 --
 Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help
 others with their CakePHP related questions.


 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


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: editing user data when password doesn't change

2011-12-22 Thread euromark
this might help:
http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/

On 22 Dez., 11:09, Sam Sherlock sam.sherl...@gmail.com wrote:
 Intercept the password in beforeFilter

 - S
 On 22 Dec 2011 02:08, elogic asymo...@elogicmedia.com.au wrote:







  Hi All,

  I am using Auth and I have an edit user details page, the password is
  coming though hashed into the password field, if the user doesn't
  change the password, the hashed password get re-hashed and therefore
  it will be unknown to the user. How do I get around this issue?

  Thanks

  --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: editing user data when password doesn't change

2011-12-22 Thread elogic
http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/
- This was perfect, thankyou!

On Dec 22, 8:23 pm, euromark dereurom...@googlemail.com wrote:
 this might 
 help:http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/

 On 22 Dez., 11:09, Sam Sherlock sam.sherl...@gmail.com wrote:







  Intercept the password in beforeFilter

  - S
  On 22 Dec 2011 02:08, elogic asymo...@elogicmedia.com.au wrote:

   Hi All,

   I am using Auth and I have an edit user details page, the password is
   coming though hashed into the password field, if the user doesn't
   change the password, the hashed password get re-hashed and therefore
   it will be unknown to the user. How do I get around this issue?

   Thanks

   --
   Our newest site for the community: CakePHP Video Tutorials
  http://tv.cakephp.org
   Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp
   others with their CakePHP related questions.

   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.com For more options, visit this group
   athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


editing user data when password doesn't change

2011-12-21 Thread elogic
Hi All,

I am using Auth and I have an edit user details page, the password is
coming though hashed into the password field, if the user doesn't
change the password, the hashed password get re-hashed and therefore
it will be unknown to the user. How do I get around this issue?

Thanks

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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