Maybe the Auth $loginAction property is what you're looking for. Set the url of the controller that handles login (As a string or array).
Cheers, -- Matias Lespiau http://www.gignus.com/ On Jan 29, 2008 4:10 PM, Braindead <[EMAIL PROTECTED]> wrote: > > Hello group, > > I'm using Auth and ACL in Cake 1.2. It took quite a long time to get > it to work, but now everything is working, except one thing: > > When I'm logged in and try to access a controller I don't have access > to, I'm redirected to the url I came from and get the message that I'm > not allowed to access the controller. I would expect to be redirected > to the login page and see the error message. > > Is there a way to achieve this or is this a normal Cake behavior? > > Happy baking > Markus > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---