auto-confirm new users to compensate for lack of SMTP relay service
This commit is contained in:
parent
ee2efd0be3
commit
cd3a4b20fb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user