diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-24 16:12:14 -0500 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-04-24 19:27:39 -0700 |
commit | d7e2ac729317ace2ccf0203663637ba32f328d1a (patch) | |
tree | 55c00911d74ca7176cbb299db9a308e6bb23b088 /lib/gitlab | |
parent | 080aac050d852c332181a0e3fed7821d52d16c1a (diff) | |
download | gitlab-ce-d7e2ac729317ace2ccf0203663637ba32f328d1a.tar.gz |
Fix OAuth, LDAP and SAML SSO when regular sign-ups are disableddm-fix-oauth-user-creation
Diffstat (limited to 'lib/gitlab')
-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 6e42d8941fb..afd24b4dcc5 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::BuildService.new(nil, user_params).execute + Users::BuildService.new(nil, user_params).execute(skip_authorization: true) end def user_attributes |