ok thanks for the info!
I changed that error however my site still is not working.
in all my controllers I have:
var $components = array('Auth');
and then when ever I want an action to work without Authentication i
put:
function beforeFilter()
{
$this->Auth->allow('action1', 'action2', 'ect...');
}
any clue why this is not working? I am not able to access any
pages....
On Feb 8, 8:01 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Feb 8, 2008 7:57 PM, Neil <[EMAIL PROTECTED]> wrote:
>
>
>
> > $this->Auth->allow('action1', 'action2', 'action3')
> > vs
> > $this->Auth->allow('login');
>
> > whats the difference?
>
> The difference is that the Auth component automatically allows you to
> access an action called 'login'. If you do
> $this->Auth->allow('login'), I can 100% guarantee that things will
> not work properly.
>
> $this->Auth->allow(...) specifies what actions you do not want to be
> protected by authentication.
>
> --
> 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 [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
-~----------~----~----~----~------~----~------~--~---