Commit 2099578f authored by mortyccp's avatar mortyccp

Revert changes

parent 0e061adf
...@@ -169,7 +169,6 @@ module Gitlab ...@@ -169,7 +169,6 @@ module Gitlab
AccessTokenValidationService.new(token).include_any_scope?(scopes) AccessTokenValidationService.new(token).include_any_scope?(scopes)
end end
# rubocop: disable CodeReuse/ActiveRecord
def abilities_for_scopes(scopes) def abilities_for_scopes(scopes)
abilities_by_scope = { abilities_by_scope = {
api: full_authentication_abilities, api: full_authentication_abilities,
...@@ -182,6 +181,7 @@ module Gitlab ...@@ -182,6 +181,7 @@ module Gitlab
end.uniq end.uniq
end end
# rubocop: disable CodeReuse/ActiveRecord
def deploy_token_check(login, password) def deploy_token_check(login, password)
return unless password.present? return unless password.present?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment