diff options
author | Robert Speicher <robert@gitlab.com> | 2018-09-11 19:20:37 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-09-11 19:20:37 +0300 |
commit | e68ebdfb4e719a7711ff7e2650707a99e2352321 (patch) | |
tree | d20497503a2af0650ac89a185b96573a85c92f0a /lib | |
parent | b21625a9783e75365a309a8e48b06a1494fc3680 (diff) | |
parent | ced2a932d75272e25f172b879b08de2208ce4b5c (diff) |
Merge branch 'sh-support-adding-confirmed-emails' into 'master'
Add ability to skip user email confirmation with API
Closes #50876
See merge request gitlab-org/gitlab-ce!21630
Diffstat (limited to 'lib')
-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 b0811bb4aad..a4ae597e252 100644 --- a/lib/api/users.rb +++ b/lib/api/users.rb @@ -361,6 +361,7 @@ module API params do requires :id, type: Integer, desc: 'The ID of the user' requires :email, type: String, desc: 'The email of the user' + optional :skip_confirmation, type: Boolean, desc: 'Skip confirmation of email and assume it is verified' end post ":id/emails" do authenticated_as_admin! |