Re: Cannot log in using CakePHP 2.0
You basically say what you do wrong :-)
You try to login with the same password as that of the database? Nope!
You need to either:
Hash the password and store it in the database then try to login
-or-
Copy the already hashed password from the sql debug and insert it as
is in the database.
You should remember that in 2.0 auth automatically hashes the pass on
login but not on save. Check the docs.
On Nov 6, 4:01 am, Sandy Wilkins <sandy.wilkins...@gmail.com> wrote:
> I'm trying to get a simple login form to work using CakePHP 2.0...
> just Auth, no ACLs for now.
>
> I'm able to see the form and enter the email and password as they are
> in the database, but I just get returned to the form and the flash
> error message is displayed. Here is my code:
--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home