| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 16d50cd commit c579c80
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -503,11 +503,14 @@ class UserKeyManager(BaseManager): | |||
| 503 | 503 | class User(GitlabObject): | |
| 504 | 504 | _url = '/users' | |
| 505 | 505 | shortPrintAttr = 'username' | |
| 506 | - # FIXME: password is required for create but not for update | ||
| 507 | - requiredCreateAttrs = ['email', 'username', 'name'] | ||
| 508 | - optionalCreateAttrs = ['password', 'skype', 'linkedin', 'twitter', | ||
| 509 | - 'projects_limit', 'extern_uid', 'provider', | ||
| 510 | - 'bio', 'admin', 'can_create_group', 'website_url', | ||
| 506 | + requiredCreateAttrs = ['email', 'username', 'name', 'password'] | ||
| 507 | + optionalCreateAttrs = ['skype', 'linkedin', 'twitter', 'projects_limit', | ||
| 508 | + 'extern_uid', 'provider', 'bio', 'admin', | ||
| 509 | + 'can_create_group', 'website_url', 'confirm'] | ||
| 510 | + requiredUpdateAttrs = ['email', 'username', 'name'] | ||
| 511 | + optionalUpdateAttrs = ['password', 'skype', 'linkedin', 'twitter', | ||
| 512 | + 'projects_limit', 'extern_uid', 'provider', 'bio', | ||
| 513 | + 'admin', 'can_create_group', 'website_url', | ||
| 511 | 514 | 'confirm'] | |
| 512 | 515 | managers = [('keys', UserKeyManager, [('user_id', 'id')])] | |
| 513 | 516 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments