You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2019/09/02 12:52:09 UTC
[GitHub] [fineract] MexinaD commented on a change in pull request #70:
Secure Update password
MexinaD commented on a change in pull request #70: Secure Update password
URL: https://github.com/apache/fineract/pull/70#discussion_r319945441
##########
File path: fineract-provider/src/main/java/org/apache/fineract/useradministration/api/UsersApiResource.java
##########
@@ -140,30 +148,45 @@ public String create(final String apiRequestBodyAsJson) {
return this.toApiJsonSerializer.serialize(result);
}
- @PUT
- @Path("{userId}")
- public String update(@PathParam("userId") final Long userId, final String apiRequestBodyAsJson) {
-
- final CommandWrapper commandRequest = new CommandWrapperBuilder() //
- .updateUser(userId) //
- .withJson(apiRequestBodyAsJson) //
- .build();
-
- final CommandProcessingResult result = this.commandsSourceWritePlatformService.logCommandSource(commandRequest);
-
- return this.toApiJsonSerializer.serialize(result);
+ @PUT
+ @Path("/{userId}/usrnme/{usrnme}/currentPass/{currentPass}")
Review comment:
Hell @nikpawar did you work on this?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services