From a7a6f392a0382121481e9ba964db5f2945d6bf04 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sat, 3 Nov 2018 15:05:22 +0100 Subject: [PATCH] system: ldap-totp can import most likely --- src/www/system_usermanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/system_usermanager.php b/src/www/system_usermanager.php index 7aa529f91..c17cdd87d 100644 --- a/src/www/system_usermanager.php +++ b/src/www/system_usermanager.php @@ -1057,7 +1057,7 @@ $( document ).ready(function() { $servers = explode(',', $config['system']['webgui']['authmode']); foreach ($servers as $server) { $authcfg_type = auth_get_authserver($server)['type']; - if ($authcfg_type == 'ldap') { + if ($authcfg_type == 'ldap' || $authcfg_type == 'ldap-totp') { $can_import = true; } }