On 8/10/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
> everything.
> i tried:
> $this->Auth->authorize = '*';

This is not a valid option

> and:
> $this->Auth->authorize = 'controller';
>

Ummm.... this typically goes in your app_controller beforeFilter -
there are several ways you can use the auth component


try -

http://www.ogrn.com/andy/2007/07/10/auth-changes-in-cakephp-12-and-how-to-use-basic-auth/

or

http://www.littlehart.net/atthekeyboard/2007/07/28/two-headed-application-authentication-in-cakephp-12/

Also do note that the Auth component is bit of a moving target right now...


HTH
Tarique

-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

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

Reply via email to