Skip to content

Commit

Permalink
- (Core) Fixed issue with invalid Confirm Account URL sent from new L…
Browse files Browse the repository at this point in the history
…ogin block. (Fixes #5580)
  • Loading branch information
joshuahenninger committed Sep 15, 2023
1 parent 4bd746c commit b1a4ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rock.Blocks/Security/Login.cs
Expand Up @@ -1133,7 +1133,7 @@ private void SendConfirmation( UserLogin userLogin )

var mergeFields = GetMergeFields( new Dictionary<string, object>
{
{ "ConfirmAccountUrl", RequestContext.RootUrlPath + url.TrimStart( '/' ) },
{ "ConfirmAccountUrl", RequestContext.RootUrlPath.EnsureTrailingForwardslash() + url.RemoveLeadingForwardslash() },
{ "Person", userLogin.Person },
{ "User", userLogin }
} );
Expand Down

0 comments on commit b1a4ae3

Please sign in to comment.