undo auto-confirm new account
This commit is contained in:
parent
b59904cf55
commit
fc372311f4
@ -34,7 +34,6 @@ 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…
x
Reference in New Issue
Block a user