Merged 5.2.N (5.2.1) to HEAD (5.2)

131939 mward: REPO-1503: allow setting of password


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2016-11-03 14:02:51 +00:00
parent 3d481e8df0
commit 21356a4eaa
5 changed files with 69 additions and 14 deletions

View File

@@ -126,7 +126,9 @@ public class PeopleEntityResource implements EntityResourceAction.ReadById<Perso
.telephone(p.getTelephone())
.userStatus(p.getUserStatus())
.enabled(p.isEnabled())
.emailNotificationsEnabled(p.isEmailNotificationsEnabled()).build();
.emailNotificationsEnabled(p.isEmailNotificationsEnabled())
.password(p.getPassword()).
build();
result.add(people.create(person));
return result;