Fixes remapping the key, allows for including/excluding custom properties on profile editing too.

This commit is contained in:
Shannon
2021-04-09 16:49:17 +10:00
parent a745ef54a7
commit 5ce7127beb
5 changed files with 29 additions and 12 deletions

View File

@@ -86,6 +86,7 @@ namespace Umbraco.Cms.Core.Security
// re-assign id
user.Id = UserIdToString(memberEntity.Id);
user.Key = memberEntity.Key;
// [from backofficeuser] we have to remember whether Logins property is dirty, since the UpdateMemberProperties will reset it.
// var isLoginsPropertyDirty = user.IsPropertyDirty(nameof(MembersIdentityUser.Logins));