Set hasIdentity if there is an ID, and logical adjustments to set passwords corectly

This commit is contained in:
emmagarland
2020-12-03 01:27:54 +00:00
parent 55ddc8cc49
commit f1fbeb8ad3
7 changed files with 115 additions and 164 deletions

View File

@@ -24,7 +24,11 @@ namespace Umbraco.Web.Models.Mapping
target.Key = source.Key;
target.Username = source.Username;
target.Id = (int)(long)source.Id;
//TODO: map more properties as required
target.Comments = source.Comments;
target.IsApproved = source.IsApproved;
//TODO: ensure all properties are mapped as required
}
}
}