diff options
author | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2018-09-26 17:27:26 +0200 |
---|---|---|
committer | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2018-10-01 13:24:16 +0200 |
commit | 801fe04be7b92be4c34728c348cf16444ec4bec7 (patch) | |
tree | 9756f99b817858799233a55c03315358c3acbc36 /lib/api | |
parent | f38aa2bf3043fbfa49cafad3834f3d4aada75afd (diff) | |
download | gitlab-ce-801fe04be7b92be4c34728c348cf16444ec4bec7.tar.gz |
allow users api to set public_email
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/users.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb index d7488c73a50..9cf0d44f9fb 100644 --- a/lib/api/users.rb +++ b/lib/api/users.rb @@ -42,6 +42,7 @@ module API optional :provider, type: String, desc: 'The external provider' optional :bio, type: String, desc: 'The biography of the user' optional :location, type: String, desc: 'The location of the user' + optional :public_email, type: String, desc: 'The public email of the user' optional :admin, type: Boolean, desc: 'Flag indicating the user is an administrator' optional :can_create_group, type: Boolean, desc: 'Flag indicating the user can create groups' optional :external, type: Boolean, desc: 'Flag indicating the user is an external user' |