If you manually added the user and password to MySQL instead of adding
them through Cake then the password isn't getting the proper seed when
hashing.
In your application set your auth allow to all ( $this->Auth-
>allow('*'); ) then add your user, then restrict your auth allow as
you want. Example here: http://drug-ed.blogspot.com/2010/11/authentication.html
On Aug 7, 1:42 pm, pengin <[email protected]> wrote:
> I added the user to the MySQL database (using phpMyAdmin). I manually
> inserted the username and password (and I applied the SAH1 function to
> the password). I didn't change any of the AuthComponent defaults, so
> it should be encrypted using SAH1? Or am I misunderstanding?
>
> Yet I am still receiving the login error. What could the problem be?
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php