Update MemberRepository.cs

Ensuring that MemberManager.ConfirmEmailAsync persists.
This commit is contained in:
gilbertaoe
2022-06-29 16:39:55 -05:00
committed by Michael Latouche
parent ce9f92909b
commit ccf0d3f443

View File

@@ -790,6 +790,11 @@ namespace Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
changedCols.Add("passwordConfig");
}
if (entity.IsPropertyDirty("EmailConfirmedDate"))
{
changedCols.Add("emailConfirmedDate");
}
// If userlogin or the email has changed then need to reset security stamp
if (changedCols.Contains("Email") || changedCols.Contains("LoginName"))
{