Merged 5.2.0 (5.2.0) to HEAD (5.2)

133001 mward: Merged mward/5.2.n-repo1544-update-self (5.2.1) to 5.2.N (5.2.1)
      132987 mward: REPO-1544: correcting silly typo in new error message (relates to review: CR-620)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2016-12-06 17:05:16 +00:00
parent 561dd11fc8
commit a95054a8b0

View File

@@ -536,7 +536,7 @@ public class PeopleImpl implements People
// Non-admin users can update their own password, but must provide their current password.
if (person.getOldPassword() == null)
{
throw new PermissionDeniedException("Existing password is required, but missing (filed 'oldPassword').");
throw new PermissionDeniedException("Existing password is required, but missing (field 'oldPassword').");
}
char[] oldPassword = person.getOldPassword().toCharArray();
try