Re: Comment in Simple User Authentication example is wrong
Thanks for submitting. Every time I went to submit, it told me I didn't have permission, and I couldn't find where to register. Went to look right now, and found the register link immediately. Thanks again. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Comment in Simple User Authentication example is wrong
Do you mind submitting a ticket on http://trac.cakephp.org?That way it gets on their todo lists.On 8/3/06, ebourqui [EMAIL PROTECTED] wrote: Not really a question, but a statement, since I couldn't submit a bugat trac.cakephp.org;The comment in the Simple User Authentication section of the CakePHPmanual (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 wouldalready 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 -~--~~~~--~~--~--~---
Re: Comment in Simple User Authentication example is wrong
Sorry. Didn't catch the first part of the post. I will submit the bug right now.What was the hangup with submitting a ticket on trac?On 8/4/06, John Zimmerman [gmail] [EMAIL PROTECTED] wrote: Do you mind submitting a ticket on http://trac.cakephp.org?That way it gets on their todo lists. On 8/3/06, ebourqui [EMAIL PROTECTED] wrote: Not really a question, but a statement, since I couldn't submit a bugat trac.cakephp.org ;The comment in the Simple User Authentication section of the CakePHPmanual (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 wouldalready 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 -~--~~~~--~~--~--~---