Hi Olivier and Ryan I have experienced all of the problems that you are now seeing.
1. Constant redirecting to login page indicates that the Permissions and var $othAuthRestrictions are not set up right. I was not able to get * to work to protect all actions. I didn't take the time to figure out why, as I didn't really need it. 2. When I set up the login code in my Users controller I got errors like this: Notice: Trying to get property of non-object in C:\apache2\htdocs\Trans2\app\controllers\components\oth_auth.php on line 109 Fatal error: Call to a member function find() on a non-object in C:\apache2\htdocs\Trans2\app\controllers\components\oth_auth.php on line 109 I moved the login code to another controller and it worked fine. No idea why. 3. You must have the beforeFilter initialise othAuth, particularly $othAuthRestrictions. I haven't dug around in the othAuth code enough to be able to really understand all of its logic, so sorry if this post doesn't provide enough info. Regards, Langdon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
