Explorar o código

fix account dn not being hidden on auth screen

causefx %!s(int64=7) %!d(string=hai) anos
pai
achega
a41df26f8d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      api/functions/organizr-functions.php

+ 2 - 1
api/functions/organizr-functions.php

@@ -607,8 +607,9 @@ function getSettingsMain()
 			),
 			array(
 				'type' => 'html',
+				'class' => 'ldapAuth switchAuth',
 				'label' => 'Account DN',
-				'html' => '<span id="accountDN">' . $GLOBALS['authBackendHostPrefix'] . 'TestAcct' . $GLOBALS['authBackendHostSuffix'] . '</span>'
+				'html' => '<span id="accountDN" class="ldapAuth switchAuth">' . $GLOBALS['authBackendHostPrefix'] . 'TestAcct' . $GLOBALS['authBackendHostSuffix'] . '</span>'
 			),
 			array(
 				'type' => 'button',