summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-10-26 18:42:57 +0000
committerThiago Presa <tpresa@gitlab.com>2018-10-26 16:34:55 -0300
commitba9a9b98ea17a174059bf8fbf37a46b4ea292083 (patch)
tree2dbe4a9ef269495c21d73c12303ea3916e32bf9a /app/finders
parent872549f7fe6c78562363f3cc67f6aa38cb0d87f8 (diff)
downloadgitlab-ce-ba9a9b98ea17a174059bf8fbf37a46b4ea292083.tar.gz
Merge branch 'fix_pat_auth-11-4' into 'security-11-4'
[11.4] Fix Token lookup for Git over HTTP and registry authentication See merge request gitlab/gitlabhq!2577
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/personal_access_tokens_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/personal_access_tokens_finder.rb b/app/finders/personal_access_tokens_finder.rb
index 5beea92689f..81fd3b7a547 100644
--- a/app/finders/personal_access_tokens_finder.rb
+++ b/app/finders/personal_access_tokens_finder.rb
@@ -3,7 +3,7 @@
class PersonalAccessTokensFinder
attr_accessor :params
- delegate :build, :find, :find_by, to: :execute
+ delegate :build, :find, :find_by, :find_by_token, to: :execute
def initialize(params = {})
@params = params