Explorar o código

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

(cherry picked from commit ffd41eae6c7b4a5f87e9cb2b2a42c60af9c71f95)

Change-Id: I364e3a9331595b8658a3ff333e12ec35b1b6b015
Ying Chen %!s(int64=6) %!d(string=hai) anos
pai
achega
625841bbc0
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