Commit e76a136c authored by xiaozhe.chen's avatar xiaozhe.chen

登陆添加log信息

parent 327bf0d8
...@@ -68,6 +68,7 @@ public class LoginServiceImpl implements LoginService { ...@@ -68,6 +68,7 @@ public class LoginServiceImpl implements LoginService {
final String passwordMd5 = MD5Tools.md5(password); final String passwordMd5 = MD5Tools.md5(password);
if (!user.getPassword().equalsIgnoreCase(passwordMd5)) { if (!user.getPassword().equalsIgnoreCase(passwordMd5)) {
log.info("用户名或密码错误username=" + username); log.info("用户名或密码错误username=" + username);
log.info("user.name:{},user.pwd:{},passwordMd5:{}", user.getUsername(), user.getPassword(), passwordMd5);
return new Tuple<>(Boolean.FALSE, ApplicationStatus.USERNAME_OR_PASSWORD_ERROR); return new Tuple<>(Boolean.FALSE, ApplicationStatus.USERNAME_OR_PASSWORD_ERROR);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment