mirror of https://github.com/veops/cmdb.git
[更新] 关闭前端密码加密;加强 ldap 用户验证
This commit is contained in:
parent
a5f7b6d3d7
commit
1aa144cb3e
|
@ -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:
|
||||
|
|
|
@ -4,7 +4,7 @@ const appConfig = {
|
|||
buildAclToModules: true, // 是否在各个应用下 内联权限管理
|
||||
ssoLogoutURL: '/api/sso/logout',
|
||||
showDocs: false,
|
||||
useEncryption: true,
|
||||
useEncryption: false,
|
||||
}
|
||||
|
||||
export default appConfig
|
||||
|
|
Loading…
Reference in New Issue