directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-enmasse git commit: remove extraneous readUser
Date Sat, 04 Feb 2017 18:13:28 GMT
Repository: directory-fortress-enmasse
Updated Branches:
  refs/heads/master 12d6e9975 -> ac5315772


remove extraneous readUser


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/commit/ac531577
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/tree/ac531577
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/diff/ac531577

Branch: refs/heads/master
Commit: ac5315772b1aae9618737e7bc34c1b6f325bf143
Parents: 12d6e99
Author: Shawn McKinney <smckinney@apache.org>
Authored: Sat Feb 4 07:56:05 2017 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Sat Feb 4 07:56:05 2017 -0600

----------------------------------------------------------------------
 .../java/org/apache/directory/fortress/rest/AdminMgrImpl.java    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/blob/ac531577/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java b/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java
index 820b963..79662cc 100644
--- a/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java
+++ b/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java
@@ -198,9 +198,7 @@ class AdminMgrImpl extends AbstractMgrImpl
             adminMgr.setAdmin( request.getSession() );
             User inUser = (User) request.getEntity();
             adminMgr.resetPassword( inUser, inUser.getNewPassword() );
-            ReviewMgr reviewMgr = ReviewMgrFactory.createInstance( request.getContextId()
);
-            User outUser = reviewMgr.readUser( inUser );
-            response.setEntity( outUser );
+            response.setEntity( inUser );
         }
         catch ( SecurityException se )
         {


Mime
View raw message