You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by GitBox <gi...@apache.org> on 2021/01/27 05:37:08 UTC

[GitHub] [openmeetings] sebawagner commented on a change in pull request #121: OPENMEETINGS-2560 Improve response to return the actual error to client.

sebawagner commented on a change in pull request #121:
URL: https://github.com/apache/openmeetings/pull/121#discussion_r565040274



##########
File path: openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/UserWebService.java
##########
@@ -180,7 +180,7 @@ public UserDTO add(
 				user.setLanguageId(1L);
 			}
 			User jsonUser = user.get(userDao, groupDao);
-			IValidator<String> passValidator = new StrongPasswordValidator(true, jsonUser);
+			IValidator<String> passValidator = new StrongPasswordValidator(false, jsonUser);

Review comment:
       This validator needs to be false, otherwise the response will not put the actual error message into the output.




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