Commit bb88aedc authored by shenshuo's avatar shenshuo

ldap cn映射出来 更新

parent c2942d73
......@@ -61,7 +61,7 @@ class LdapApi:
else:
email = None
return True, username, email
return True, attr_dict["cn"][0], email
else:
print("auth fail")
return False, None, None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment