Commit 0d2c1723 authored by admin's avatar admin

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

This reverts commit ee2efd0b
parent fc372311
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment