Commit 2099578f authored by mortyccp's avatar mortyccp

Revert changes

parent 0e061adf
......@@ -169,7 +169,6 @@ module Gitlab
AccessTokenValidationService.new(token).include_any_scope?(scopes)
end
# rubocop: disable CodeReuse/ActiveRecord
def abilities_for_scopes(scopes)
abilities_by_scope = {
api: full_authentication_abilities,
......@@ -182,6 +181,7 @@ module Gitlab
end.uniq
end
# rubocop: disable CodeReuse/ActiveRecord
def deploy_token_check(login, password)
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