账号验证
This commit is contained in:
parent
9929d5ce80
commit
f0726a616b
|
@ -130,8 +130,8 @@ public class LoginController {
|
||||||
String userpassword = PasswordUtil.encrypt(username, password, sysUser.getSalt());
|
String userpassword = PasswordUtil.encrypt(username, password, sysUser.getSalt());
|
||||||
String syspassword = sysUser.getPassword();
|
String syspassword = sysUser.getPassword();
|
||||||
//TODO admin账号 忘记密码就把下面的判断条件改为false
|
//TODO admin账号 忘记密码就把下面的判断条件改为false
|
||||||
if (1==2) {
|
// if (1==2) {
|
||||||
// if (!syspassword.equals(userpassword)) {
|
if (!syspassword.equals(userpassword)) {
|
||||||
//update-begin-author:taoyan date:2022-11-7 for: issues/4109 平台用户登录失败锁定用户
|
//update-begin-author:taoyan date:2022-11-7 for: issues/4109 平台用户登录失败锁定用户
|
||||||
addLoginFailOvertimes(username);
|
addLoginFailOvertimes(username);
|
||||||
//update-end-author:taoyan date:2022-11-7 for: issues/4109 平台用户登录失败锁定用户
|
//update-end-author:taoyan date:2022-11-7 for: issues/4109 平台用户登录失败锁定用户
|
||||||
|
|
Loading…
Reference in New Issue