Skip to content

Commit d5879b4

Browse files
mucstt.mucs
andauthored
Add missing parameter "public_email" in userToForm(..) (#1016)
Co-authored-by: t.mucs <[email protected]>
1 parent 2eb39b0 commit d5879b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/gitlab4j/api/UserApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,7 @@ Form userToForm(User user, Integer projectsLimit, CharSequence password, Boolean
984984
String skipConfirmationFeildName = create ? "skip_confirmation" : "skip_reconfirmation";
985985

986986
return (new GitLabApiForm()
987+
.withParam("public_email", user.getPublicEmail(), false)
987988
.withParam("email", user.getEmail(), create)
988989
.withParam("password", password, false)
989990
.withParam("reset_password", resetPassword, false)

0 commit comments

Comments
 (0)