diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index e80888e33..ffa3f86f3 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -817,6 +817,7 @@ namespace IRaCIS.Core.Application.Service [HttpGet] public async Task LoginOut(Guid userId) { + await _fusionCache.RemoveAsync(CacheKeys.UserToken(_userInfo.Id)); await _userLogRepository.AddAsync(new UserLog() { IP = _userInfo.IP, LoginUserId = userId, OptUserId = _userInfo.Id, OptType = UserOptType.LoginOut }, true); return ResponseOutput.Ok();