diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2016-06-03 17:08:44 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2016-06-03 17:08:44 +0200 |
commit | 1fab583266af0904dfc29facfe4551e37c06342a (patch) | |
tree | cbff624240a864a3fd64881c8008d01cd89910e4 /lib | |
parent | fa35aea3ddf1093db26f8b7fec78175a5f88af7a (diff) | |
download | gitlab-ce-1fab583266af0904dfc29facfe4551e37c06342a.tar.gz |
Remove instances of Auth.new
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/backend/grack_auth.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/backend/grack_auth.rb b/lib/gitlab/backend/grack_auth.rb index 492ffb138a3..9e09d2e118d 100644 --- a/lib/gitlab/backend/grack_auth.rb +++ b/lib/gitlab/backend/grack_auth.rb @@ -95,7 +95,7 @@ module Grack end def authenticate_user(login, password) - user = Gitlab::Auth.new.find_in_gitlab_or_ldap(login, password) + user = Gitlab::Auth.find_in_gitlab_or_ldap(login, password) unless user user = oauth_access_token_check(login, password) |