diff options
author | James Lopez <james@jameslopez.es> | 2017-06-14 11:35:58 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-06-23 11:41:41 +0200 |
commit | 59c3968c40a1146f5370ae3b634aac2d4a045733 (patch) | |
tree | ad607fb897beb405ce0651c983a9eba0ddd9ef68 /lib/gitlab/o_auth | |
parent | cf6286313d2e5296e1009c3bcae7da50d7e438a4 (diff) | |
download | gitlab-ce-59c3968c40a1146f5370ae3b634aac2d4a045733.tar.gz |
use update service on ldap call and updated specs and service
Diffstat (limited to 'lib/gitlab/o_auth')
-rw-r--r-- | lib/gitlab/o_auth/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/o_auth/user.rb b/lib/gitlab/o_auth/user.rb index 7307f8c2c87..8f37f96dcab 100644 --- a/lib/gitlab/o_auth/user.rb +++ b/lib/gitlab/o_auth/user.rb @@ -32,7 +32,7 @@ module Gitlab block_after_save = needs_blocking? - gl_user.save! + Users::UpdateService.new(gl_user, gl_user).execute! gl_user.block if block_after_save |