don't mark never expired accounts as disabled - patch from Christoph Brill

ulab-original
jsorg71 15 years ago
parent 2750bd3c92
commit e2c4dbf1af

@ -164,6 +164,10 @@ auth_check_pwd_chg(char* user)
now=g_time1();
today=now/SECS_PER_DAY;
if (stp->sp_expire == -1)
{
return AUTH_PWD_CHG_OK;
}
if (today >= (stp->sp_lstchg + stp->sp_max - stp->sp_warn))
{
return AUTH_PWD_CHG_CHANGE;

Loading…
Cancel
Save