> i added an password from login into the mysql db and now i'm ready for
> login
>
> But where i set the hashing algorithm i dont know
You don't need to think about that unless you need to change it.
Assuming you haven't written a user registration function etc. yet I'd
suggest:
set debug to 2
try logging in with whatever username and password you want
look at the sql log
insert/edit a user in the db matching the query that cake generated.
thereafter you want to be looking at isAuthorized probably (check the
book)
e.g. https://github.com/AD7six/skel/blob/master/app_controller.php#L223
AD
--
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
No comments:
Post a Comment