增加LDAP认证,如果LDAP认证不通过,则验证本地用户名密码(用户与OA同步待增加)
This commit is contained in:
parent
acd5aed95b
commit
c2495ee1ec
|
|
@ -82,7 +82,7 @@ public class SysPasswordService
|
||||||
{
|
{
|
||||||
return user.getPassword().equals(encryptPassword(user.getLoginName(), newPassword, user.getSalt()));
|
return user.getPassword().equals(encryptPassword(user.getLoginName(), newPassword, user.getSalt()));
|
||||||
}
|
}
|
||||||
return result;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearLoginRecordCache(String loginName)
|
public void clearLoginRecordCache(String loginName)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue