added message to login: account is expired

This commit is contained in:
Ralf Becker 2003-10-16 14:55:12 +00:00
parent 2fd99e4fa3
commit 7abb19b143
2 changed files with 6 additions and 1 deletions

View File

@ -82,6 +82,9 @@
case 5:
return '<font color="FF0000">' . lang('Bad login or password') . '</font>';
break;
case 98:
return '<font color="FF0000">' . lang('Account is expired') . '</font>';
break;
case 99:
return '<font color="FF0000">' . lang('Blocked, too many attempts') . '</font>';
break;

View File

@ -557,6 +557,8 @@
));
$GLOBALS['phpgw']->log->commit();
}
$this->reason = 'account is expired';
$this->cd_reason = 98;
return False;
}