邮件跳转

Uat_Study
hang 2022-05-31 17:20:01 +08:00
parent 3de2321461
commit 7abcecf39c
1 changed files with 1 additions and 4 deletions

View File

@ -209,13 +209,10 @@ namespace IRaCIS.Api.Controllers
var errorUrl = domainStrList[0]+"//"+ domainStrList[2]+ "/error";
_logger.LogError(errorUrl);
if (!await _userRepository.AnyAsync(t => t.Id == Guid.Parse(userId) && t.EmailToken == token && t.IsFirstAdd))
{
decodeUrl = errorUrl+ "?ErrorMessage=您的初始化链接已过期";
_logger.LogError(errorUrl);
decodeUrl = errorUrl+ $"?ErrorMessage={System.Web.HttpUtility.UrlEncode("")} ";
}
return Redirect(decodeUrl);