关闭前端密码加密;加强 ldap 用户验证 (#216)

* [更新] python-ldap 更新到 ldap3

* [更新] 关闭前端密码加密;加强 ldap 用户验证

* Update app.js

---------

Co-authored-by: sherlock <sherlock@gmail.com>
Co-authored-by: pycook <pycook@126.com>
This commit is contained in:
kdyq007
2023-10-24 19:47:46 +08:00
committed by GitHub
parent a6eb2f0d21
commit 5143539593

View File

@@ -74,6 +74,8 @@ class UserQuery(BaseQuery):
conn = Connection(server, user=who, password=password)
conn.bind()
if conn.result['result'] != 0:
raise LDAPBindError
conn.unbind()
if not user: