关闭前端密码加密;加强 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 4754bb59f4
commit 92dc81ec53
1 changed files with 2 additions and 0 deletions

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: