diff --git a/setup/inc/hook_config.inc.php b/setup/inc/hook_config.inc.php index 6c73b94f04..3563494ed4 100644 --- a/setup/inc/hook_config.inc.php +++ b/setup/inc/hook_config.inc.php @@ -235,6 +235,10 @@ function auth_type_activesync($config) { return _options_from(setup_cmd_config::auth_types(),$config['auth_type_activesync']); } +function auth_type_smtp($config) +{ + return _options_from(emailadmin_ui::getSMTPAuthConfig(),$config['smtpAuth']); +} /** * Returns options string diff --git a/setup/templates/default/config.tpl b/setup/templates/default/config.tpl index 4d6c1d7709..5d5d9ed7d4 100644 --- a/setup/templates/default/config.tpl +++ b/setup/templates/default/config.tpl @@ -184,7 +184,7 @@ -