personally I think u should just blank out the password field from the view
so that the hashed one is not shown. that would save you from hashing a
hash...
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
If I setup a user and create a password, the password is hashed using
cakephp's default SHA1 hash algorithm and saved in the user table
without any problem. However, when I want to view or edit the record,
the entire 36 char password is being displayed in the password field.
Is there any way to
I don't think a hashed password is reversible.
if you really need the to show cleartext password you could add another field
into the db table like password_cleartext and keep it there
Andras Kende
http://www.kende.com
On Jan 21, 2011, at 4:59 PM, eldorado2768 wrote:
If I setup a user
thats not possible
you simply let the user chose to submit a new password
no need to display the old one (besides the fact that this is not
possible and should not be) - its much safer anyway!
On 22 Jan., 00:13, Andras Kende and...@kende.com wrote:
I don't think a hashed password is reversible.
Okay, that makes sense. Now how do I make it blank in the view? Do I use the
set command in the controller?
--
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
Why bother with fancy logic? It's always going to be an obscure, meaningless
set length string, so just display something like in the view.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 22 Jan 2011, at 00:46, eldorado2768 wrote:
Okay, that makes
Thanks for all the suggestions. I think I found the answer. It was showing
asterisks but it was showing 36 asterisks not 5. In any case, I did some
poking around on the internet as I seem to have to do fairly frequently
while learning cakephp and finally found something that can blank out a