summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobin Bobbitt <ryehle@us.ibm.com>2017-09-15 11:43:49 -0400
committerRobin Bobbitt <ryehle@us.ibm.com>2017-09-18 08:39:01 -0400
commit0013e6c00dc1743edb35b9b35a59c09fa0a0868e (patch)
tree056cb8b6e0666450019460e8dfd334300a776397 /config
parentef37de8adb4e846db5bf7816e3f55f43b1305a03 (diff)
downloadgitlab-ce-0013e6c00dc1743edb35b9b35a59c09fa0a0868e.tar.gz
Clean up read_registry scope changes
Closes #37789
Diffstat (limited to 'config')
-rw-r--r--config/initializers/doorkeeper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb
index 40e635bf2cf..b89f0419b91 100644
--- a/config/initializers/doorkeeper.rb
+++ b/config/initializers/doorkeeper.rb
@@ -58,7 +58,7 @@ Doorkeeper.configure do
# For more information go to
# https://github.com/doorkeeper-gem/doorkeeper/wiki/Using-Scopes
default_scopes(*Gitlab::Auth::DEFAULT_SCOPES)
- optional_scopes(*Gitlab::Auth::OPTIONAL_SCOPES)
+ optional_scopes(*Gitlab::Auth.optional_scopes)
# Change the way client credentials are retrieved from the request object.
# By default it retrieves first from the `HTTP_AUTHORIZATION` header, then