From 8353437b87e7a44cb3bb3247405ff787a4f26276 Mon Sep 17 00:00:00 2001 From: Jared Date: Fri, 18 Dec 2020 07:51:54 -0800 Subject: [PATCH] Replace logo URL in email with current server instance. --- Server/API/OrganizationManagementController.cs | 2 +- Server/Areas/Identity/Pages/Account/ForgotPassword.cshtml.cs | 2 +- Server/Areas/Identity/Pages/Account/Manage/Index.cshtml.cs | 2 +- .../Areas/Identity/Pages/Account/Manage/Organization.cshtml.cs | 2 +- Server/Areas/Identity/Pages/Account/Register.cshtml.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Server/API/OrganizationManagementController.cs b/Server/API/OrganizationManagementController.cs index 1b5a8d8d..1d645ab0 100644 --- a/Server/API/OrganizationManagementController.cs +++ b/Server/API/OrganizationManagementController.cs @@ -264,7 +264,7 @@ namespace Remotely.Server.API var inviteURL = $"{Request.Scheme}://{Request.Host}/Invite?id={newInvite.ID}"; var emailResult = await EmailSender.SendEmailAsync(invite.InvitedUser, "Invitation to Organization in Remotely", - $@" + $@"

Hello!

diff --git a/Server/Areas/Identity/Pages/Account/ForgotPassword.cshtml.cs b/Server/Areas/Identity/Pages/Account/ForgotPassword.cshtml.cs index 4f244950..ecd746f4 100644 --- a/Server/Areas/Identity/Pages/Account/ForgotPassword.cshtml.cs +++ b/Server/Areas/Identity/Pages/Account/ForgotPassword.cshtml.cs @@ -65,7 +65,7 @@ namespace Remotely.Server.Areas.Identity.Pages.Account var emailResult = await _emailSender.SendEmailAsync( Input.Email, "Reset Password", - $"

Please reset your Remotely password by clicking here."); + $"

Please reset your Remotely password by clicking here."); if (!emailResult) { diff --git a/Server/Areas/Identity/Pages/Account/Manage/Index.cshtml.cs b/Server/Areas/Identity/Pages/Account/Manage/Index.cshtml.cs index 3f53f361..7439b8fd 100644 --- a/Server/Areas/Identity/Pages/Account/Manage/Index.cshtml.cs +++ b/Server/Areas/Identity/Pages/Account/Manage/Index.cshtml.cs @@ -160,7 +160,7 @@ namespace Remotely.Server.Areas.Identity.Pages.Account.Manage var emailResult = await _emailSender.SendEmailAsync( email, "Confirm your email", - $"

Please confirm your Remotely account by clicking here.", + $"

Please confirm your Remotely account by clicking here.", user.OrganizationID); if (!emailResult) diff --git a/Server/Areas/Identity/Pages/Account/Manage/Organization.cshtml.cs b/Server/Areas/Identity/Pages/Account/Manage/Organization.cshtml.cs index 41728d04..d5ed3c47 100644 --- a/Server/Areas/Identity/Pages/Account/Manage/Organization.cshtml.cs +++ b/Server/Areas/Identity/Pages/Account/Manage/Organization.cshtml.cs @@ -127,7 +127,7 @@ namespace Remotely.Server.Areas.Identity.Pages.Account.Manage var inviteURL = $"{Request.Scheme}://{Request.Host}/Invite?id={newInvite.ID}"; var emailResult = await EmailSender.SendEmailAsync(invite.InvitedUser, "Invitation to Organization in Remotely", - $@" + $@"

Hello!

diff --git a/Server/Areas/Identity/Pages/Account/Register.cshtml.cs b/Server/Areas/Identity/Pages/Account/Register.cshtml.cs index 9f33c156..30f21bb9 100644 --- a/Server/Areas/Identity/Pages/Account/Register.cshtml.cs +++ b/Server/Areas/Identity/Pages/Account/Register.cshtml.cs @@ -109,7 +109,7 @@ namespace Remotely.Server.Areas.Identity.Pages.Account protocol: Request.Scheme); await _emailSender.SendEmailAsync(Input.Email, "Confirm your email", - $"

Please confirm your Remotely account by clicking here."); + $"

Please confirm your Remotely account by clicking here."); if (_userManager.Options.SignIn.RequireConfirmedAccount) {