diff options
author | Robert Speicher <robert@gitlab.com> | 2018-10-26 18:42:57 +0000 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2018-10-29 17:20:53 +0100 |
commit | c847f172d25efc211045c363f4e55402ad250c09 (patch) | |
tree | fb4f64f6f09476d7e937f4bc13c032ea9b7fad86 /app/finders | |
parent | 5091cc4f778facdbf53dc84349a1e6d9bc684220 (diff) | |
download | gitlab-ce-c847f172d25efc211045c363f4e55402ad250c09.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.rb | 2 |
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 |