Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorAlexis Reigel <alexis.reigel.ext@siemens.com>2018-09-26 18:27:26 +0300
committerAlexis Reigel <alexis.reigel.ext@siemens.com>2018-10-01 14:24:16 +0300
commit801fe04be7b92be4c34728c348cf16444ec4bec7 (patch)
tree9756f99b817858799233a55c03315358c3acbc36 /lib/api
parentf38aa2bf3043fbfa49cafad3834f3d4aada75afd (diff)
allow users api to set public_email
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/users.rb1
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'