Commit ee2efd0b authored by Rob Colbert's avatar Rob Colbert

auto-confirm users to compensate for lack of SMTP relay

parent c9811c1a
......@@ -8,6 +8,8 @@ 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))
Doorkeeper::AccessToken.create!(application: app,
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