Hello,

Set

$this->Auth->redirect = false

in AppController::beforeFilter().

The   the login() action will be called after a successful login.

Regards.


2009/4/9 brian <[email protected]>

>
> Actually, yes, I did consider that and I think I will do it that way.
> But that still leaves with this problem: how to check this field after
> a successful login?
>
> On Thu, Apr 9, 2009 at 11:48 AM, Angry Coder <[email protected]> wrote:
> >
> > Have you considered a separate column in your users table of
> > "accepted_eula" or "eula_version_accepted" if you want to track which
> > version of the EULA they have accepted?
> >
> > It would be easy then to force users to re-accept if it changes and
> > you do not have to lose the "last_login" data if you wish to force a
> > re-acceptance.
> >
> > Just thinking out loud here...
> > >
> >
>
> >
>

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