Learn how to setup a multi-tenant eCommerce (SaaS) with Spree
KEYGEN_ACCOUNT_ID
KEYGEN_LICENSE_KEY
:validatable
module. This module is responsible for validating the user’s email uniqueness. We need to change it to validate it in the scope of the tenant.
Spree Multi-Tenant gem injects SpreeMultiTenant::CustomerUserConcern
that handles that instead.
config/initializers/spree.rb
:
Gemfile
:
spree_enterprise
and spree_multi_tenant
gems.