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