On 27 Jun 2009, at 23:11, tpynegar <[email protected]> wrote:

>
> Hi,
>
> I've got a setup where i've got a login action at /users/login. If you
> go directly to that
> controller, action there is no error message wereas if you goto '/' as
> in the site
> address with no controller or action and then follow the routes i've
> got setup for '/'
> to /users/login you get this message.
>
> I've tried putting this into the beforeFilter
>
>    $this->Auth->allow( '/' );
>

You need to allow the action that is called when you go to /. Check in  
routes it's probably default set to display action in the pages  
controller.


> but doesn't seem to help.
>
> Thanks,
> Tim.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to