summaryrefslogtreecommitdiff
path: root/app/helpers/application_settings_helper.rb
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2019-07-25 15:09:04 +0200
committerMathieu Parent <math.parent@gmail.com>2019-09-09 15:11:34 +0200
commitea14d17da4d3625eaf6a70a3b38660e5753c5f77 (patch)
tree86812ca928a80f70f08c2f44fbd702544599b185 /app/helpers/application_settings_helper.rb
parentd5978d09219b654d8c43e6904d6f340643a8b3b9 (diff)
downloadgitlab-ce-ea14d17da4d3625eaf6a70a3b38660e5753c5f77.tar.gz
Show domain_blacklist and domain_whitelist in the settings API
Diffstat (limited to 'app/helpers/application_settings_helper.rb')
-rw-r--r--app/helpers/application_settings_helper.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/helpers/application_settings_helper.rb b/app/helpers/application_settings_helper.rb
index 84021d0da56..76ce08458e8 100644
--- a/app/helpers/application_settings_helper.rb
+++ b/app/helpers/application_settings_helper.rb
@@ -180,9 +180,11 @@ module ApplicationSettingsHelper
:default_projects_limit,
:default_snippet_visibility,
:disabled_oauth_sign_in_sources,
+ :domain_blacklist,
:domain_blacklist_enabled,
- :domain_blacklist_raw,
- :domain_whitelist_raw,
+ :domain_blacklist_raw, # TODO: remove in API v5
+ :domain_whitelist,
+ :domain_whitelist_raw, # TODO: remove in API v5
:outbound_local_requests_whitelist_raw,
:dsa_key_restriction,
:ecdsa_key_restriction,