diff options
author | Robin Bobbitt <ryehle@us.ibm.com> | 2017-09-15 11:43:49 -0400 |
---|---|---|
committer | Robin Bobbitt <ryehle@us.ibm.com> | 2017-09-18 08:39:01 -0400 |
commit | 0013e6c00dc1743edb35b9b35a59c09fa0a0868e (patch) | |
tree | 056cb8b6e0666450019460e8dfd334300a776397 /config | |
parent | ef37de8adb4e846db5bf7816e3f55f43b1305a03 (diff) | |
download | gitlab-ce-0013e6c00dc1743edb35b9b35a59c09fa0a0868e.tar.gz |
Clean up read_registry scope changes
Closes #37789
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/doorkeeper.rb | 2 |
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 |