Skip to content

Commit 9fb3989

Browse files
authored
Update objects.py
At least in version 11.11 (and later), parameter to update an user is `skip_reconfirmation` and not `skip_confirmation`. See: * https://docs.gitlab.com/11.11/ee/api/users.html#user-modification * https://docs.gitlab.com/ee/api/users.html#user-modification Currently, when an user has it's email updated, an email is sent to it's old email even if skip confirmation is set to True.
1 parent e6a9ba9 commit 9fb3989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ class UserManager(CRUDMixin, RESTManager):
469469
"admin",
470470
"can_create_group",
471471
"website_url",
472-
"skip_confirmation",
472+
"skip_reconfirmation",
473473
"external",
474474
"organization",
475475
"location",

0 commit comments

Comments
 (0)