Not really a question, but a statement, since I couldn't submit a bug
at trac.cakephp.org;

The comment in the Simple User Authentication section of the CakePHP
manual (as of 8/3/2006) is wrong. It says:

// Note: hopefully your password in the DB is hashed,
// so your comparison might look more like:
// md5($somone['User']['password']) == ...

it should read:

// Note: hopefully your password in the DB is hashed,
// so your comparison might look more like:
// ... == md5($this->data['User']['password']))

because $someone is the data pulled from the database, which would
already be hashed, whereas $this->data['User']['password'] is the data
from the form, which has not been hashed yet.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to