Show More
@@ -87,6 +87,9 b' class AuthLdap(object):' | |||||
87 |
|
87 | |||
88 | uid = chop_at(username, "@%s" % self.LDAP_SERVER_ADDRESS) |
|
88 | uid = chop_at(username, "@%s" % self.LDAP_SERVER_ADDRESS) | |
89 |
|
89 | |||
|
90 | if not password: | |||
|
91 | log.debug("Attempt to authenticate LDAP user with blank password rejected.") | |||
|
92 | raise LdapPasswordError() | |||
90 | if "," in username: |
|
93 | if "," in username: | |
91 | raise LdapUsernameError("invalid character in username: ,") |
|
94 | raise LdapUsernameError("invalid character in username: ,") | |
92 | try: |
|
95 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now