visualize not existing ability to unset "must change password on next login", by making it readonly

This commit is contained in:
Ralf Becker 2015-07-01 14:58:07 +00:00
parent d39c2a71bf
commit 56c5db4fbc

View File

@ -86,6 +86,12 @@ class admin_account
$readonlys = array();
// at least ADS does not allow to unset it and SQL backend does not implement it either
if ($account['mustchangepassword'])
{
$readonlys['mustchangepassword'] = true;
}
if ($deny_edit)
{
foreach(array_keys($account) as $key)