Not a lot to go on but it looks like something I'd put in
UsersController::login().

On Tue, Jun 23, 2009 at 1:52 AM, Louie Miranda<[email protected]> wrote:
> Guys,
>
> Where do I need to place a filter that if...
>
> if ($username == OK) {
>  if ($expiration < date_required) {
>    proceed
>   } else {
>    issue error
>   }
> } else {
>  invalid login
> }
>
> Will I place this on the app_controller.php? and use beforefilter() ?
>
> --
> Louie Miranda ([email protected])
> http://www.louiemiranda.net
>
> Quality Web Hosting - www.axishift.com
> Pinoy Web Hosting, Web Hosting Philippines
>
> >
>

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