On 7/5/07, Pillow <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to use new Auth component. I've got problem with
> Auth::validate. I want to use my own validation, not 'actions' or
> 'objects'. So, as it stands in the comment, in beforeFilter() of my
> appController I do:
>
> $this -> Auth -> validate = null;
>
> However, it doesn't work (maybe I'm wrong?) - the validation occurs
> and Auth component redirects me to /users/login. When I do $this ->
> Auth -> allow('*'); everything is ok.
>

Try $this->Auth->validate = false

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to