Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-09-27 12:48:33 +0300
committerJames Lopez <james@jameslopez.es>2017-09-28 09:46:39 +0300
commit67d06dee30379fc93be196e2cf509660d1661aea (patch)
treede02bb9866dcc70cc7e65f9599bc7e8392060775 /lib/gitlab/ldap
parentcbb90d8f84d1f79560066d8ea3c6346906e7da94 (diff)
refactor users update service
Diffstat (limited to 'lib/gitlab/ldap')
-rw-r--r--lib/gitlab/ldap/access.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ldap/access.rb b/lib/gitlab/ldap/access.rb
index 4e75729ca73..e60ceba27c8 100644
--- a/lib/gitlab/ldap/access.rb
+++ b/lib/gitlab/ldap/access.rb
@@ -16,7 +16,7 @@ module Gitlab
def self.allowed?(user)
self.open(user) do |access|
if access.allowed?
- Users::UpdateService.new(user, user, last_credential_check_at: Time.now).execute
+ Users::UpdateService.new(user, user: user, last_credential_check_at: Time.now).execute
true
else