fix: 修复个人信息设置功能的bug

Closes #1087
This commit is contained in:
Captain.B 2021-01-08 17:46:43 +08:00
parent ddd640c7c1
commit 3a26a9cfbc
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ public class UserService {
MSException.throwException(Translator.get("user_email_already_exists")); MSException.throwException(Translator.get("user_email_already_exists"));
} }
} }
user.setPassword(null);
user.setUpdateTime(System.currentTimeMillis()); user.setUpdateTime(System.currentTimeMillis());
userMapper.updateByPrimaryKeySelective(user); userMapper.updateByPrimaryKeySelective(user);
// 禁用用户之后剔除在线用户 // 禁用用户之后剔除在线用户