auto-confirm new users to compensate for lack of SMTP relay service

This commit is contained in:
Rob Colbert 2019-08-21 02:15:05 -04:00
parent ee2efd0be3
commit cd3a4b20fb

View File

@ -34,6 +34,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
resource.current_sign_in_ip = request.remote_ip resource.current_sign_in_ip = request.remote_ip
resource.build_account if resource.account.nil? resource.build_account if resource.account.nil?
resource.confirm!
end end
def configure_sign_up_params def configure_sign_up_params