Explorar el Código

HUE-8879 [core] Fix ldaptest not allow space in user_filter

Ying Chen hace 6 años
padre
commit
29ec0be728
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      desktop/core/src/desktop/management/commands/ldaptest.py

+ 1 - 1
desktop/core/src/desktop/management/commands/ldaptest.py

@@ -231,7 +231,7 @@ class Command(BaseCommand):
         LOG.warn("Could not find user_name_attr in hue.ini")
         return err_code
 
-      if user_filter=='' or ' ' in user_filter:
+      if user_filter=='':
         LOG.info(_(user_filter_msg))
         LOG.warn("Could not find user_filter in hue.ini required for authentication")
         return err_code