mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
added message to login: account is expired
This commit is contained in:
parent
2fd99e4fa3
commit
7abb19b143
@ -82,6 +82,9 @@
|
|||||||
case 5:
|
case 5:
|
||||||
return '<font color="FF0000">' . lang('Bad login or password') . '</font>';
|
return '<font color="FF0000">' . lang('Bad login or password') . '</font>';
|
||||||
break;
|
break;
|
||||||
|
case 98:
|
||||||
|
return '<font color="FF0000">' . lang('Account is expired') . '</font>';
|
||||||
|
break;
|
||||||
case 99:
|
case 99:
|
||||||
return '<font color="FF0000">' . lang('Blocked, too many attempts') . '</font>';
|
return '<font color="FF0000">' . lang('Blocked, too many attempts') . '</font>';
|
||||||
break;
|
break;
|
||||||
|
@ -557,6 +557,8 @@
|
|||||||
));
|
));
|
||||||
$GLOBALS['phpgw']->log->commit();
|
$GLOBALS['phpgw']->log->commit();
|
||||||
}
|
}
|
||||||
|
$this->reason = 'account is expired';
|
||||||
|
$this->cd_reason = 98;
|
||||||
|
|
||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user