From b85bcc9814c0e6469a15f668be6a4fb7c20c276d Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 17 Jan 2017 15:26:03 +0100 Subject: [PATCH] Add select profile, group and tags when autocreate user in few options. And add metaconsole replication users in node --- pandora_console/godmode/setup/setup_auth.php | 5 ++- pandora_console/include/auth/mysql.php | 37 +++++++++++++++++--- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/pandora_console/godmode/setup/setup_auth.php b/pandora_console/godmode/setup/setup_auth.php index 6d22e2397e..0444731007 100644 --- a/pandora_console/godmode/setup/setup_auth.php +++ b/pandora_console/godmode/setup/setup_auth.php @@ -58,6 +58,10 @@ if (is_ajax ()) { $row['control'] = __('Yes').' '.html_print_radio_button_extended('autocreate_remote_users', 1, '', $config['autocreate_remote_users'], false, '', '', true).'  '; $row['control'] .= __('No').' '.html_print_radio_button_extended('autocreate_remote_users', 0, '', $config['autocreate_remote_users'], false, '', '', true); $table->data['autocreate_remote_users'] = $row; + + if (enterprise_installed()) { + add_enterprise_auth_autocreate_profiles($table, $type_auth); + } } switch ($type_auth) { @@ -202,7 +206,6 @@ echo '';