Skip to content

Commit

Permalink
Skip email confirmation with LDAP
Browse files Browse the repository at this point in the history
  • Loading branch information
brugidou committed Dec 9, 2013
1 parent 31cdb7a commit 2c4e3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gitlab/oauth/user.rb
Expand Up @@ -28,8 +28,8 @@ def create(auth)
}

user = model.build_user(opts, as: :admin)
user.skip_confirmation!
user.save!
user.confirm!
log.info "(OAuth) Creating user #{email} from login with extern_uid => #{uid}"

if Gitlab.config.omniauth['block_auto_created_users'] && !ldap?
Expand Down

0 comments on commit 2c4e3e0

Please sign in to comment.