portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1816782 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/services/rest/UserManagerService.java
Date Fri, 01 Dec 2017 00:50:24 GMT
Author: taylor
Date: Fri Dec  1 00:50:24 2017
New Revision: 1816782

URL: http://svn.apache.org/viewvc?rev=1816782&view=rev
Log:
JS2-1356: new user manager password credential bug fix. this fix is to the UserManagerService

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/services/rest/UserManagerService.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/services/rest/UserManagerService.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/services/rest/UserManagerService.java?rev=1816782&r1=1816781&r2=1816782&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/services/rest/UserManagerService.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/services/rest/UserManagerService.java
Fri Dec  1 00:50:24 2017
@@ -256,7 +256,8 @@ public class UserManagerService extends
             
             if (changePassword)
             {
-                credential.setPassword(password, false);
+                // JS2-1356: credential.setPassword(password, false);
+                credential.setPassword(credential.getOldPassword(), password);
             }
             
             credential.setUpdateRequired(credentialUpdateRequired);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message