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
cd3a4b20
Commit
cd3a4b20
authored
Aug 21, 2019
by
Rob Colbert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto-confirm new users to compensate for lack of SMTP relay service
parent
ee2efd0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
app/controllers/auth/registrations_controller.rb
app/controllers/auth/registrations_controller.rb
+1
-0
No files found.
app/controllers/auth/registrations_controller.rb
View file @
cd3a4b20
...
...
@@ -34,6 +34,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
resource
.
current_sign_in_ip
=
request
.
remote_ip
resource
.
build_account
if
resource
.
account
.
nil?
resource
.
confirm!
end
def
configure_sign_up_params
...
...
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