fix setup centraliced active directory

This commit is contained in:
Daniel Barbero Martin 2021-11-23 10:18:20 +01:00
parent feedce5a61
commit 02b3bc8574
1 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ if (is_ajax()) {
$table->data['fallback_local_auth'] = $row;
if (enterprise_installed()) {
$is_management_allowed = is_management_allowed();
// Autocreate remote users.
$row = [];
$row['name'] = __('Autocreate remote users');
@ -67,7 +68,7 @@ if (is_ajax()) {
'autocreate_remote_users',
1,
$config['autocreate_remote_users'],
false,
(is_metaconsole() === false) ? !$is_management_allowed : false,
'',
'',
true