module Spree
  class ApiConfiguration < Preferences::Configuration
    # Make sure the api requires authentication by default to prevent unwanted access
    preference :requires_authentication, :boolean, :default => true
  end
end

module Spree
  class ApiConfiguration < Preferences::Configuration
    preference :requires_authentication, :boolean, :default => false
  end
end

Revert "Make sure that api requires authentication by default"
Revert "Make sure that api requires authentication by default"

This reverts commit 3e89c8e52ced3935f74048f288aa9cdc524c88dc.

This is causing issues with the frontend & backend builds that need to be fixed before this commit can be applied.
