Skip to content

Commit

Permalink
Add missing field public_email in userToForm
Browse files Browse the repository at this point in the history
  • Loading branch information
t.mucs committed Aug 9, 2023
1 parent 7d1d6b1 commit 96f922a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/gitlab4j/api/UserApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,7 @@ Form userToForm(User user, Integer projectsLimit, CharSequence password, Boolean
String skipConfirmationFeildName = create ? "skip_confirmation" : "skip_reconfirmation";

return (new GitLabApiForm()
.withParam("public_email", user.getPublicEmail(), false)
.withParam("email", user.getEmail(), create)
.withParam("password", password, false)
.withParam("reset_password", resetPassword, false)
Expand Down

0 comments on commit 96f922a

Please sign in to comment.