Explorar o código

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

Ying Chen %!s(int64=6) %!d(string=hai) anos
pai
achega
29ec0be728
Modificáronse 1 ficheiros con 1 adicións e 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