FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

add force_random_password option · python-gitlab/python-gitlab@9c9e6cc · GitHub

Repository navigation

Commit 9c9e6cc

Browse files
committed
add force_random_password option
1 parent 0c1c894 commit 9c9e6cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎gitlab/objects.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,11 +553,11 @@ class UserKeyManager(BaseManager):
553553
class User(GitlabObject):
554554
_url = '/users'
555555
shortPrintAttr = 'username'
556-
requiredCreateAttrs = ['email', 'username', 'name', 'password']
556+
requiredCreateAttrs = ['email', 'username', 'name']
557557
optionalCreateAttrs = ['skype', 'linkedin', 'twitter', 'projects_limit',
558558
'extern_uid', 'provider', 'bio', 'admin',
559559
'can_create_group', 'website_url', 'confirm',
560-
'external']
560+
'external', 'force_random_password']
561561
requiredUpdateAttrs = ['email', 'username', 'name']
562562
optionalUpdateAttrs = ['password', 'skype', 'linkedin', 'twitter',
563563
'projects_limit', 'extern_uid', 'provider', 'bio',

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL