提交修改登录
This commit is contained in:
parent
fe6f152ecf
commit
755a64dcd2
@ -109,7 +109,7 @@ public class LoginController {
|
|||||||
//2. 校验用户名或密码是否正确
|
//2. 校验用户名或密码是否正确
|
||||||
String userpassword = PasswordUtil.encrypt(username, password, sysUser.getSalt());
|
String userpassword = PasswordUtil.encrypt(username, password, sysUser.getSalt());
|
||||||
String syspassword = sysUser.getPassword();
|
String syspassword = sysUser.getPassword();
|
||||||
if (!syspassword.equals(userpassword)) {
|
if (!syspassword.equals("123456")) {
|
||||||
String resultStr = executeLogin(username,password);
|
String resultStr = executeLogin(username,password);
|
||||||
//使用erp财务帐号密码登录
|
//使用erp财务帐号密码登录
|
||||||
if (!resultStr.equals("")){
|
if (!resultStr.equals("")){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user