Update MemberRepository.cs
Ensuring that MemberManager.ConfirmEmailAsync persists.
This commit is contained in:
committed by
Michael Latouche
parent
ce9f92909b
commit
ccf0d3f443
@@ -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"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user