forked from extern/egroupware
visualize not existing ability to unset "must change password on next login", by making it readonly
This commit is contained in:
parent
d39c2a71bf
commit
56c5db4fbc
@ -86,6 +86,12 @@ class admin_account
|
|||||||
|
|
||||||
$readonlys = array();
|
$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)
|
if ($deny_edit)
|
||||||
{
|
{
|
||||||
foreach(array_keys($account) as $key)
|
foreach(array_keys($account) as $key)
|
||||||
|
Loading…
Reference in New Issue
Block a user