Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
d5879b4a
Unverified
Commit
d5879b4a
authored
Aug 15, 2023
by
mucst
Committed by
GitHub
Aug 15, 2023
Browse files
Add missing parameter "public_email" in userToForm(..) (#1016)
Co-authored-by:
t.mucs
<
t.mucs@4flow.de
>
parent
2eb39b04
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/UserApi.java
View file @
d5879b4a
...
@@ -984,6 +984,7 @@ public class UserApi extends AbstractApi {
...
@@ -984,6 +984,7 @@ public class UserApi extends AbstractApi {
String
skipConfirmationFeildName
=
create
?
"skip_confirmation"
:
"skip_reconfirmation"
;
String
skipConfirmationFeildName
=
create
?
"skip_confirmation"
:
"skip_reconfirmation"
;
return
(
new
GitLabApiForm
()
return
(
new
GitLabApiForm
()
.
withParam
(
"public_email"
,
user
.
getPublicEmail
(),
false
)
.
withParam
(
"email"
,
user
.
getEmail
(),
create
)
.
withParam
(
"email"
,
user
.
getEmail
(),
create
)
.
withParam
(
"password"
,
password
,
false
)
.
withParam
(
"password"
,
password
,
false
)
.
withParam
(
"reset_password"
,
resetPassword
,
false
)
.
withParam
(
"reset_password"
,
resetPassword
,
false
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment