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 <goo...@mmcsoftware.co.uk> 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 <gwoo.cake...@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment