summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-05-23 23:21:21 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-05-23 23:21:21 +0200
commitcd98903d6c1a2cbf21d533d6d6d4ea58917930b1 (patch)
tree807eab210a1a348b5d9584a8b12cf236f50e38f0 /gitlab/v4/objects.py
parent2dd84e8170502ded3fb8f9b62e0571351ad6e0be (diff)
downloadgitlab-cd98903d6c1a2cbf21d533d6d6d4ea58917930b1.tar.gz
[v4] Users confirm attribute renamed skip_confirmation
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 6944046..0a6ae41 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -128,13 +128,13 @@ class User(GitlabObject):
optionalCreateAttrs = ['password', 'reset_password', 'skype', 'linkedin',
'twitter', 'projects_limit', 'extern_uid',
'provider', 'bio', 'admin', 'can_create_group',
- 'website_url', 'confirm', 'external',
+ 'website_url', 'skip_confirmation', 'external',
'organization', 'location']
requiredUpdateAttrs = ['email', 'username', 'name']
optionalUpdateAttrs = ['password', 'skype', 'linkedin', 'twitter',
'projects_limit', 'extern_uid', 'provider', 'bio',
'admin', 'can_create_group', 'website_url',
- 'confirm', 'external', 'organization', 'location']
+ 'skip_confirmation', 'external', 'organization', 'location']
managers = (
('emails', 'UserEmailManager', [('user_id', 'id')]),
('keys', 'UserKeyManager', [('user_id', 'id')]),