fix setup centraliced active directory
This commit is contained in:
parent
feedce5a61
commit
02b3bc8574
|
@ -60,6 +60,7 @@ if (is_ajax()) {
|
||||||
$table->data['fallback_local_auth'] = $row;
|
$table->data['fallback_local_auth'] = $row;
|
||||||
|
|
||||||
if (enterprise_installed()) {
|
if (enterprise_installed()) {
|
||||||
|
$is_management_allowed = is_management_allowed();
|
||||||
// Autocreate remote users.
|
// Autocreate remote users.
|
||||||
$row = [];
|
$row = [];
|
||||||
$row['name'] = __('Autocreate remote users');
|
$row['name'] = __('Autocreate remote users');
|
||||||
|
@ -67,7 +68,7 @@ if (is_ajax()) {
|
||||||
'autocreate_remote_users',
|
'autocreate_remote_users',
|
||||||
1,
|
1,
|
||||||
$config['autocreate_remote_users'],
|
$config['autocreate_remote_users'],
|
||||||
false,
|
(is_metaconsole() === false) ? !$is_management_allowed : false,
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in New Issue