mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
added message to login: account is expired
This commit is contained in:
parent
2fd99e4fa3
commit
7abb19b143
@ -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;
|
||||
|
@ -508,7 +508,7 @@
|
||||
{
|
||||
$this->reason = $blocked ? 'blocked, too many attempts' : 'bad login or password';
|
||||
$this->cd_reason = $blocked ? 99 : 5;
|
||||
|
||||
|
||||
$this->log_access($this->reason,$login,$user_ip,0); // log unsuccessfull login
|
||||
return False;
|
||||
}
|
||||
@ -557,6 +557,8 @@
|
||||
));
|
||||
$GLOBALS['phpgw']->log->commit();
|
||||
}
|
||||
$this->reason = 'account is expired';
|
||||
$this->cd_reason = 98;
|
||||
|
||||
return False;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user