账号验证

This commit is contained in:
1378012178@qq.com 2025-01-15 13:41:11 +08:00
parent 9929d5ce80
commit f0726a616b
1 changed files with 2 additions and 2 deletions

View File

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