On Nov 8, 6:33 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
> But when submitting the form, it redirects me back to the login, pre-
> filling the password field with 32 chars (assume it's the md5 hash,
> but why?).
That's probably because the authentication is failing, or not being
checked.
Remember I don't use username and password, I use email and password.
So make sure that in app_controller.php where I have
$this->Auth->fields = array('username' => 'email', 'password' =>
'password');
you have
$this->Auth->fields = array('username' => 'username', 'password' =>
'password');
Did you also null out your salt in config.php?
I posted my code (login.ctp and users_controller.php) to
http://pastebin.ca/767192
Sean
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---