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 /app/controllers/profiles | |
parent | ef37de8adb4e846db5bf7816e3f55f43b1305a03 (diff) | |
download | gitlab-ce-0013e6c00dc1743edb35b9b35a59c09fa0a0868e.tar.gz |
Clean up read_registry scope changes
Closes #37789
Diffstat (limited to 'app/controllers/profiles')
-rw-r--r-- | app/controllers/profiles/personal_access_tokens_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles/personal_access_tokens_controller.rb b/app/controllers/profiles/personal_access_tokens_controller.rb index f748d191ef4..c1cc509a748 100644 --- a/app/controllers/profiles/personal_access_tokens_controller.rb +++ b/app/controllers/profiles/personal_access_tokens_controller.rb @@ -38,7 +38,7 @@ class Profiles::PersonalAccessTokensController < Profiles::ApplicationController end def set_index_vars - @scopes = Gitlab::Auth::AVAILABLE_SCOPES + @scopes = Gitlab::Auth.available_scopes @personal_access_token = finder.build @inactive_personal_access_tokens = finder(state: 'inactive').execute |