1.fix user login bug

main
Gary 9 months ago
parent b1125d7aaf
commit 894311fb31

@ -210,7 +210,7 @@ public class UserInfoService {
user.setLastUseDeviceBrand(userInfo.getLastUseDeviceBrand()); user.setLastUseDeviceBrand(userInfo.getLastUseDeviceBrand());
user.setLastLoginIp(userInfo.getLastLoginIp()); user.setLastLoginIp(userInfo.getLastLoginIp());
} }
if (!UserStatusEnum.ENABLE.getStatus().equals(userInfo.getStatus())) { if (!UserStatusEnum.ENABLE.getStatus().equals(user.getStatus())) {
return null; return null;
} }
user.setLastLoginTime(new Date()); user.setLastLoginTime(new Date());

Loading…
Cancel
Save