I have the same exact issue and have been searching for a solution for several days now...
On Sep 26, 4:06 am, Marcelo <[email protected]> wrote: > I'm using Auth component and this is one of the settings in my > AppController's beforeFilter() method: > > $this->Auth->loginAction = array( > 'controller' => 'users', > 'action' => 'login', > Configure::read('Routing.admin') => false > ); > > When i access: > ------------------------------------------------------------------------------------------------------ > "todos/view/5" redirects to -----> "users/login" GOOD > ------------------------------------------------------------------------------------------------------ > "admin/todos/edit/5" redirects to ----> "users/login" GOOD > ------------------------------------------------------------------------------------------------------ > "admin/users/add" redirects to ----> "admin/users/login" BAD, > WHY THIS HAPPENS?!? > ------------------------------------------------------------------------------------------------------ > > I have no admin_login() action. My login action is NOT under admin > routing. > > It should redirect to "users/login" since i've disabled admin prefix > within my loginAction configuration. > > It only happens with Users controller! > > I would appreciate an explanation for this strange behavior. > > Thanks in advance, > > Marcelo Kanzaki --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
