Hey Mal! Are you talking about your local /app/config/routes.php file, or is there some other file that contains those Router::connect statements? I'm having the same problem as you guys, and I can't figure out how to get my logins to work. AAAAIGH!!!
Thanks, -Josh On Feb 4, 5:36 am, MalContented <[email protected]> wrote: > I don't think so, I have the following 2 lines in routes.php > > Router::connect('/login', array('controller' => 'user', 'action' => > 'login')); > Router::connect('/logout', array('controller' => 'user', 'action' => > 'logout')); > > For 1.2.0.7962 the auth component startup function evaluates both $url > and $loginAction to /login and the test on line 290 is false and > authentication proceeds. > However, in 1.2.1.8004 it evaluates $url to /usr/login and > $loginAction to /login so the test, now on line 305, is true and > authentication exits. > With the 2 router lines removed, $loginAction evaluates to /usr/login > so authentication again succeeds. > > I suspecty that this is where the problem lies. > > Mal > > On 4 Feb, 00:36, Gwoo <[email protected]> wrote: > > > sounds like you have the wrong fields. Everything works just fine. > > Please see the AuthComponent test cases in the nightly build or svn > > version. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
