summaryrefslogtreecommitdiff
path: root/doc/development
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-07-15 18:30:38 -0500
committerPatricio Cano <suprnova32@gmail.com>2016-07-18 17:53:43 -0500
commitc71e658ccac85f111517e04b79d915c10867c7e3 (patch)
treeffbea4cb96791b4f78ae0d9e4bb3b51f54cc8ecc /doc/development
parenta3f0f2cc4d9a4c689ae0eeae73e6d4ef19c39cce (diff)
downloadgitlab-ce-c71e658ccac85f111517e04b79d915c10867c7e3.tar.gz
Refactor and rename `restricted_signup_domains` to `domain_whitelist` to better conform to its behavior and newly introduced behavior.
Diffstat (limited to 'doc/development')
-rw-r--r--doc/development/doc_styleguide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/doc_styleguide.md b/doc/development/doc_styleguide.md
index fac35ec964d..6ee7b3cfeeb 100644
--- a/doc/development/doc_styleguide.md
+++ b/doc/development/doc_styleguide.md
@@ -359,7 +359,7 @@ restrict the sign-up e-mail domains of a GitLab instance to `*.example.com` and
`example.net`, you would do something like this:
```bash
-curl -X PUT -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" -d "restricted_signup_domains[]=*.example.com" -d "restricted_signup_domains[]=example.net" https://gitlab.example.com/api/v3/application/settings
+curl -X PUT -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" -d "domain_whitelist[]=*.example.com" -d "domain_whitelist[]=example.net" https://gitlab.example.com/api/v3/application/settings
```
[cURL]: http://curl.haxx.se/ "cURL website"