Revert "auto-confirm users to compensate for lack of SMTP relay"

This reverts commit ee2efd0be3
This commit is contained in:
admin 2019-09-20 02:32:34 +00:00
parent fc372311f4
commit 0d2c172365
1 changed files with 0 additions and 2 deletions

View File

@ -8,8 +8,6 @@ class AppSignUpService < BaseService
account_params = params.slice(:username)
user = User.create!(user_params.merge(created_by_application: app, password_confirmation: user_params[:password], account_attributes: account_params))
user.confirm!
Doorkeeper::AccessToken.create!(application: app,
resource_owner_id: user.id,
scopes: app.scopes,