We've moved discussions to Discord

resource.skip_default_account = true

Hi
I have `personal accounts` enabled as a default in Jumpstart config. However, I want to skip that and create a team account if the signing up user checks  create team account box on a sign up form.

so I am sending params[:skip_default_account] = '1'

Then I add changed  build_resource method in registration controller as shown below but it still creates a personal account. 

Please why does it have no effect and how do I go about this task?
def build_resource(hash = {})
  self.resource = resource_class.new_with_session(hash, session)
  #  create a team account for the signing up user not a personal one
  # (if personal is ticked as default in Jumpstrat config)
  resource.skip_default_account = true if params[:skip_default_account]
Notifications
You’re not receiving notifications from this thread.