邮件跳转
parent
3de2321461
commit
7abcecf39c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue