Revert "auto-confirm users to compensate for lack of SMTP relay"
This reverts commit ee2efd0be3
This commit is contained in:
parent
fc372311f4
commit
0d2c172365
@ -8,8 +8,6 @@ class AppSignUpService < BaseService
|
|||||||
account_params = params.slice(:username)
|
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 = 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,
|
Doorkeeper::AccessToken.create!(application: app,
|
||||||
resource_owner_id: user.id,
|
resource_owner_id: user.id,
|
||||||
scopes: app.scopes,
|
scopes: app.scopes,
|
||||||
|
Loading…
Reference in New Issue
Block a user