修改邮箱修改邮箱验证码错误
continuous-integration/drone/push Build is running Details

Uat_IRC_Net8
hang 2025-01-20 17:35:25 +08:00
parent 68a57594ff
commit 2e9a75279d
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ namespace IRaCIS.Core.Application.Service
var verificationRecord = await _verificationCodeRepository
.FirstOrDefaultAsync(t => t.UserId == _userInfo.UserRoleId && t.Code == verificationCode && t.CodeType == 0);
.FirstOrDefaultAsync(t => t.UserId == _userInfo.IdentityUserId && t.Code == verificationCode && t.CodeType == 0);
//检查数据库是否存在该验证码
if (verificationRecord == null)