浏览代码

GH-2370 Hue Login Failed attempt should not expose bind_dn into the Login screen (asnaik) (#2506)

Akhil S Naik 4 年之前
父节点
当前提交
3c0d3a9815
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/useradmin/src/useradmin/ldap_access.py

+ 1 - 1
apps/useradmin/src/useradmin/ldap_access.py

@@ -191,7 +191,7 @@ class LdapConnection(object):
       msg = "Can\'t contact LDAP server"
     else:
       if bind_user:
-        msg = "Failed to bind to LDAP server as user %s" % bind_user
+        msg = "Failed to bind to LDAP server"
       else:
         msg = "Failed to bind to LDAP server anonymously"