Re: Re: LiveUser

From: Date: Thu, 15 Aug 2002 18:45:02 +0000
Subject: Re: Re: LiveUser
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8449@lists.php.net to get a copy of this message
On Thu, 15 Aug 2002 20:05:19 +0200 "robert janeczek" <rashid@ds.pg.gda.pl> wrote: > is there a possibility to temporary deactivate user account (ie. when user > hasn`t changed his password for a long time)? Yep, there´s a flag called "valid" in the database (at least in the database model that comes with the package). If set to 0 the user won´t be able to login, no matter what rights he has. You could periodically run a script via cron that checks which users haven´t logged in for a specific time period (the unix timestamp of the last login is stored in the database as well) and then set their validity flags to 0. Regards, Markus -- Markus Wolff <wolff@21st.de>

« previous php.pear.dev (#8449) next »