summaryrefslogtreecommitdiff
path: root/lib/banzai.rb
diff options
context:
space:
mode:
authorImre Farkas <ifarkas@gitlab.com>2018-10-26 16:47:03 +0200
committerImre Farkas <ifarkas@gitlab.com>2018-11-05 11:36:45 +0100
commit8d900ade3832b3e2812f067ace19bad7fd286d54 (patch)
treee81f35ae24282ec1c2843ed786e4b2803ac958f6 /lib/banzai.rb
parentef220c4d5baaaec54d4e9f46a4a777c29e2c0363 (diff)
downloadgitlab-ce-8d900ade3832b3e2812f067ace19bad7fd286d54.tar.gz
Remove PersonalAccessTokensFinder#find_by methoduse_tokenauthenticatable_method_for_token_lookup
find_by_token is overriden by TokenAuthenticatable which can be easily missed or confused with #find_by(:token) defined by ActiveRecord. First step for safer usage is to remove #find_by.
Diffstat (limited to 'lib/banzai.rb')
0 files changed, 0 insertions, 0 deletions