最后一次登录时间 和ip 记录
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f61ce70b82
commit
5791aca9fd
|
@ -1008,7 +1008,11 @@ namespace IRaCIS.Core.Application.Service
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
await _identityUserRepository.BatchUpdateNoTrackingAsync(x => x.Id == loginUser.IdentityUserId, x => new IdentityUser()
|
||||||
|
{
|
||||||
|
LastLoginTime = DateTime.Now,
|
||||||
|
LastLoginIP=_userInfo.IP,
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
if (loginUser.Status == 0)
|
if (loginUser.Status == 0)
|
||||||
|
|
Loading…
Reference in New Issue