-
Couldn't load subscription status.
- Fork 493
Open
Description
Some stores for example wholesale stores do not allow users to sign up for their own accounts and require that you contact them by phone or email and they set up the user with an account. Currently spree does not seem to allow disabling of the registratable module.
Possible Fix
Change user.rb to
devise :database_authenticatable, :recoverable,
:rememberable, :trackable, :validatable, :encryptable, encryptor: 'authlogic_sha512'
devise :confirmable if Spree::Auth::Config[:confirmable]
devise :registerable if Spree::Auth::Config[:registerable]
One work around I see is overriding the registration route to point to a contact page which should block registrations.
olehif
Metadata
Metadata
Assignees
Labels
No labels