On Feb 8, 2008 7:31 PM, Neil <[EMAIL PROTECTED]> wrote:
>
> I'm using the Auth component. I am running into some trouble and I am
> not sure what is causing it.
> As soon as I add the auth component to my site, I can no longer access
> any of the pages. I tried putting this:
> $this->Auth->allow('login'); but it did not work.

The component doesn't like it if you add login to the list of allowed
actions.  Instead, do this:

$this->Auth->allow('action1', 'action2', 'action3')

to have the actions you want to be allowed WITHOUT authenticating against.


-- 
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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