mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged 5.2.0 (5.2.0) to HEAD (5.2)
132998 mward: Merged mward/5.2.n-repo1544-update-self (5.2.1) to 5.2.N (5.2.1) 132959 mward: REPO-1544: added error message (review: CR-620) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -542,7 +542,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();
|
||||
throw new PermissionDeniedException("Existing password is required, but missing (filed 'oldPassword').");
|
||||
}
|
||||
char[] oldPassword = person.getOldPassword().toCharArray();
|
||||
try
|
||||
|
Reference in New Issue
Block a user