app/controllers/api/users/registrations_controller.rb
# We don't want to create
We don't want to create
We don ' t want to create
def create
        if AppSettings.get(:security, :force_sign_up_via_admin)
          render_op_error 'api.users', :sign_up_disabled
        else
          super
        end
      end
def create if AppSettings . get ( :security , :force_sign_up_via_admin ) render_op_error 'api.users' , :sign_up_disabled else super end end
We don't want to create
We don ' t want to create
#  AppSettings.set(:security, :force_sign_up_via_admin)