mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 22:17:33 +00:00
show current password expiration
This commit is contained in:
parent
a13e1121e3
commit
0280a8adc0
|
@ -283,7 +283,7 @@ $(document).ready( function() {
|
|||
if($passwordexpiration > 0 && (!$currUser || !$currUser->isAdmin())) {
|
||||
$options = array();
|
||||
if($currUser)
|
||||
$options[] = array('', getMLText("keep"));
|
||||
$options[] = array('', getMLText("keep").($currUser->getPwdExpiration() ? ' ('.getLongReadableDate($currUser->getPwdExpiration()).')' : ''));
|
||||
$options[] = array('now', getMLText('now'));
|
||||
$options[] = array(date('Y-m-d H:i:s', time()+$passwordexpiration*86400), getMLText("according_settings"));
|
||||
$options[] = array('never', getMLText("never"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user