public virtual async Task SendPasswordResetCodeAsync(SendPasswordResetCodeDto input) { var user = await GetUserByEmail(input.Email); var resetToken = await UserManager.GeneratePasswordResetTokenAsync(user); await AccountEmailer.SendPasswordResetLinkAsync(user, resetToken, input.AppName, input.ReturnUrl, input.ReturnUrlHash); }
public virtual Task SendPasswordResetCodeAsync(SendPasswordResetCodeDto input) { return(AccountAppService.SendPasswordResetCodeAsync(input)); }