@b logica
change the $this->Auth->loginAction in before filter when ($this-
>action == 'login' && empty($this->data)) .. set it to any action you
want (except null)..
hth

On Jul 3, 8:32 pm, "b logica" <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 3, 2008 at 2:24 PM, mbavio <[EMAIL PROTECTED]> wrote:
>
> > The login method is called automatically by Auth Component, if you
> > redirect to there and you have $this->data filled with the right info,
> > it will login. A way to solve this? I really dont know, I´ve never
> > tried to not use this function....
>
> Right. I guess that what I should have asked is, How do I intercept
> login()? Everything I've seen about Auth says that one only needs an
> empty login() method. However, it seems that that isn't even
> necessary. But, how to perform other stuff upon login?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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