summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-07-14 13:19:40 -0500
committerPatricio Cano <suprnova32@gmail.com>2016-07-18 17:52:29 -0500
commitdefb8660c08a904a385b584280f72fc6a5a94c6e (patch)
tree1a93c424e4ad3ffb3d18350fdaaaa6c43879bad1 /lib
parent777a080892f710915c8f4d62864813ef388a1873 (diff)
downloadgitlab-ce-defb8660c08a904a385b584280f72fc6a5a94c6e.tar.gz
Added the ability to block sign ups using a domain blacklist.
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 3c79a00eb8c..4cd388658be 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -413,6 +413,8 @@ module API
expose :default_snippet_visibility
expose :default_group_visibility
expose :restricted_signup_domains
+ expose :domain_blacklist_enabled
+ expose :domain_blacklist
expose :user_oauth_applications
expose :after_sign_out_path
expose :container_registry_token_expire_delay