From 417f31fba592116674080e5270ce336e39fec70c Mon Sep 17 00:00:00 2001 From: Fjellvang Date: Tue, 31 Jan 2023 09:04:26 +0100 Subject: [PATCH] Send email notification on password reset (#13757) Co-authored-by: Aleksander --- .../Controllers/AuthenticationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs b/src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs index 7704344d4e..97aa5bd118 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs @@ -423,7 +423,7 @@ public class AuthenticationController : UmbracoApiControllerBase var mailMessage = new EmailMessage(from, user.Email, subject, message, true); - await _emailSender.SendAsync(mailMessage, Constants.Web.EmailTypes.PasswordReset); + await _emailSender.SendAsync(mailMessage, Constants.Web.EmailTypes.PasswordReset, true); _userManager.NotifyForgotPasswordRequested(User, user.Id.ToString()); }