mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
fix for the prefs: we need to show the default or forced pw, otherwise we are never able to reset it
This commit is contained in:
parent
84b36865e1
commit
dc38f4afd8
@ -343,7 +343,9 @@
|
|||||||
{
|
{
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
$this->create_input_box($label_name,$preference_name.'][pw',$help,'',$size,$max_size,'password',$run_lang);
|
$this->create_input_box($label_name,$preference_name.
|
||||||
|
($GLOBALS['type'] != 'user' ? '' : '][pw'), // we need to show the default or forced pw, otherwise we are never able to reset it
|
||||||
|
$help,'',$size,$max_size,'password',$run_lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
function create_input_box($label,$name,$help='',$default='',$size='',$max_size='',$type='',$run_lang=True)
|
function create_input_box($label,$name,$help='',$default='',$size='',$max_size='',$type='',$run_lang=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user