Saturday, June 27, 2009

Auth problem with '/' and "You are not authorized to access that location."

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( '/' );

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