@@ -126,17 +126,21 @@ public GitlabUser getUserViaSudo(String username) throws IOException {
126126 * @param bio
127127 * @param isAdmin
128128 * @param can_create_group
129+ * @param skip_confirmation
130+ *
129131 * @return
130132 * @throws IOException
131133 */
132134 public GitlabUser createUser (String email , String password , String username ,
133135 String fullName , String skypeId , String linkedIn ,
134136 String twitter , String website_url , Integer projects_limit ,
135137 String extern_uid , String extern_provider_name ,
136- String bio , Boolean isAdmin , Boolean can_create_group ) throws IOException {
138+ String bio , Boolean isAdmin , Boolean can_create_group ,
139+ Boolean skip_confirmation ) throws IOException {
137140
138141 Query query = new Query ()
139142 .append ("email" , email )
143+ .appendIf ("skip_confirmation" , skip_confirmation )
140144 .appendIf ("password" , password )
141145 .appendIf ("username" , username )
142146 .appendIf ("name" , fullName )
@@ -176,6 +180,8 @@ public GitlabUser createUser(String email, String password, String username,
176180 * @param bio
177181 * @param isAdmin
178182 * @param can_create_group
183+ * @param skip_confirmation
184+ *
179185 * @return
180186 * @throws IOException
181187 */
@@ -184,10 +190,12 @@ public GitlabUser updateUser(Integer targetUserId,
184190 String fullName , String skypeId , String linkedIn ,
185191 String twitter , String website_url , Integer projects_limit ,
186192 String extern_uid , String extern_provider_name ,
187- String bio , Boolean isAdmin , Boolean can_create_group ) throws IOException {
193+ String bio , Boolean isAdmin , Boolean can_create_group ,
194+ Boolean skip_confirmation ) throws IOException {
188195
189196 Query query = new Query ()
190197 .append ("email" , email )
198+ .appendIf ("skip_confirmation" , skip_confirmation )
191199 .appendIf ("password" , password )
192200 .appendIf ("username" , username )
193201 .appendIf ("name" , fullName )
0 commit comments