mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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();
|
||||
|
||||
// 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)
|
||||
|
Loading…
Reference in New Issue
Block a user