Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
gab
social
gab-social
Commits
0d2c1723
Commit
0d2c1723
authored
Sep 20, 2019
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "auto-confirm users to compensate for lack of SMTP relay"
This reverts commit
ee2efd0b
parent
fc372311
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
app/services/app_sign_up_service.rb
app/services/app_sign_up_service.rb
+0
-2
No files found.
app/services/app_sign_up_service.rb
View file @
0d2c1723
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment