DeathGun44 commented on code in PR #5387:
URL: https://github.com/apache/fineract/pull/5387#discussion_r2822531305


##########
fineract-provider/src/main/java/org/apache/fineract/useradministration/service/AppUserWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -238,6 +243,11 @@ public CommandProcessingResult updateUser(final Long 
userId, final JsonCommand c
             }
 
             if (!changes.isEmpty()) {
+                if (changes.containsKey("password") || 
changes.containsKey("passwordEncoded")) {
+                    if (!currentUser.getId().equals(userId) && 
this.configurationDomainService.isForcePasswordResetOnFirstLoginEnabled()) {

Review Comment:
   Done!
   



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to