@John: Actually I created a new user via scaffolding, and the password
did not appear hashed in the database. But I did assure myself that
the user actually exists in the DB with the password I entered.

@Andras: I'll try this and let you know.

Thanks!


On Nov 6, 12:06 pm, John <spil...@gmail.com> wrote:
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to