Thursday, July 30, 2009

Re: Auth Component

class SomeController extends AppController
{
function beforeFilter()
{
parent::beforeFilter();

$this->Auth->allowedActions = array('someAction', 'someOtherAction');
}

On Thu, Jul 30, 2009 at 9:10 PM, pete123456<lumotion@gmail.com> wrote:
>
>
> Hi,
> i've added var $components = array('Auth'); to my AppController.
> Now i need to login on every single page, is there a way to remove the
> Authentication within certain controllers?
>
> thanks
>
> pete
> --
> View this message in context: http://www.nabble.com/Auth-Component-tp24749664p24749664.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
>
> >
>

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