[Web] Hide self-edit passwords of domain admins, fixes #2135
parent
3fa42ada8e
commit
c1eed1d406
|
@ -5,6 +5,9 @@ function domain_admin($_action, $_data = null) {
|
||||||
$_data_log = $_data;
|
$_data_log = $_data;
|
||||||
!isset($_data_log['password']) ?: $_data_log['password'] = '*';
|
!isset($_data_log['password']) ?: $_data_log['password'] = '*';
|
||||||
!isset($_data_log['password2']) ?: $_data_log['password2'] = '*';
|
!isset($_data_log['password2']) ?: $_data_log['password2'] = '*';
|
||||||
|
!isset($_data_log['user_old_pass']) ?: $_data_log['user_old_pass'] = '*';
|
||||||
|
!isset($_data_log['user_new_pass']) ?: $_data_log['user_new_pass'] = '*';
|
||||||
|
!isset($_data_log['user_new_pass2']) ?: $_data_log['user_new_pass2'] = '*';
|
||||||
switch ($_action) {
|
switch ($_action) {
|
||||||
case 'add':
|
case 'add':
|
||||||
$username = strtolower(trim($_data['username']));
|
$username = strtolower(trim($_data['username']));
|
||||||
|
|
Loading…
Reference in New Issue