summaryrefslogtreecommitdiff
path: root/lib/gitlab/o_auth
diff options
context:
space:
mode:
authorgeoandri <geoandri@gmail.com>2017-04-13 11:47:52 +0300
committerGeorge Andrinopoulos <geoandri@gmail.com>2017-04-13 13:02:59 +0300
commitdefbff482d537975e8493c4f687e195bfd3d3919 (patch)
tree031bea2a68ceef6f70860da3fba8c5a2f41cd5ad /lib/gitlab/o_auth
parentd7a527163b64fa38e46fc6195fef2f5d93e47d07 (diff)
downloadgitlab-ce-defbff482d537975e8493c4f687e195bfd3d3919.tar.gz
Implement Users::BuildService
Diffstat (limited to 'lib/gitlab/o_auth')
-rw-r--r--lib/gitlab/o_auth/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/o_auth/user.rb b/lib/gitlab/o_auth/user.rb
index f98481c6d3a..6e42d8941fb 100644
--- a/lib/gitlab/o_auth/user.rb
+++ b/lib/gitlab/o_auth/user.rb
@@ -148,7 +148,7 @@ module Gitlab
def build_new_user
user_params = user_attributes.merge(extern_uid: auth_hash.uid, provider: auth_hash.provider, skip_confirmation: true)
- Users::CreateService.new(nil, user_params).build
+ Users::BuildService.new(nil, user_params).execute
end
def user_attributes