AD I came into this issue because Im migrating a 1.3 app to Cake 2.0 . And I did pass args to login method on Cake 1.3, I already liked to manually login the user back then, and it only returned true if the data passed was on the db, just like the warning on the new docs says.
Anyway I think I get it now. You're right I was confusing stuff. And I was used to the idea that Auth magically took care of both authentication and authorization. ps. I logged in the user manually because I had that situation where a register and a login form appear in a same view. So I had to fake input names on one of the forms, get the values on the controller method, mount a new array and pass the data to the login method. Thanks for helping -- 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
