修改MFA 日志
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-02-10 15:08:14 +08:00
parent 585e4cdc1b
commit 131425774a
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ namespace IRaCIS.Core.Application.Service
{
//删除验证码历史记录
await _verificationCodeRepository.BatchDeleteNoTrackingAsync(t => t.Id == verificationRecord.Id);
await _userLogRepository.AddAsync(new UserLog() { IP = _userInfo.IP, ActionUserName = _userInfo.UserName, TargetIdentityUserId = identityUserId, OptType = UserOptType.MFALogin }, true);
await _userLogRepository.AddAsync(new UserLog() { IP = _userInfo.IP, ActionUserName = _userInfo.UserName, ActionIdentityUserId = identityUserId, OptType = UserOptType.MFALogin }, true);
}
}