删除绿色通道设置

This commit is contained in:
gityjf 2021-06-21 17:29:54 +08:00
parent 3a0d9f04e5
commit 534b54a3d8
2 changed files with 3 additions and 9 deletions

View File

@ -133,7 +133,6 @@ public class AppUserLoginServiceImpl implements AppUserLoginService {
// ÃÜÂëУÑé
sPwd = DES.decrypt(sPwd);
if (!"tenwa123".equals(sPwd)) { // ·ÇÂÌɫͨµÀ
sPwd = MD5Util.getMD5EncodedPassword(sPwd);
switch (sKeyType) {
case "common":
@ -158,7 +157,6 @@ public class AppUserLoginServiceImpl implements AppUserLoginService {
}
break;
}
}
try {
@ -217,7 +215,6 @@ public class AppUserLoginServiceImpl implements AppUserLoginService {
body.put("enable_guesture_code",
userMap.get("ENABLE_GESTURE".toLowerCase()));
body.put("cheatPwd", DES.encrypt("tenwa123"));
Org o = new Org(userMap.get("BELONGORG".toLowerCase()) == null ? ""
: userMap.get("BELONGORG".toLowerCase()).toString());
body.put("orgid", o.getOrgId());

View File

@ -57,9 +57,6 @@ public final class LogonValidate
BizObject bo = bom.createQuery("userId=:UserID").setParameter("UserID", asUser.getUserId()).getSingleResult(false);
if (null == bo) return false;
if ("tenwa123".equals(asUser.getUserPassword())) {
return true;
}
String pwd = bo.getAttribute("PASSWORD") == null ? "" : bo.getAttribute("PASSWORD").toString();
if (!pwd.equals(pwdMD5)) return false;
else return true;