This extension allows you to disable the customer registration in your Magento store.
It can be very useful in cases where Admin wants to create account for customers (B2B) and do not want to show the
default Registration form & link on his Magento store
via composer:
cd
to your magento webroot
composer config repositories.magento2-disable-customer-registration vcs https://github.com/deved-it/magento2-disable-customer-registration
composer require deved/magento2-disable-customer-registration:dev-master
bin\magento module:enable Deved_DisableRegistration
bin\magento setup:upgrade
- Open you Magento admin interface and go to stores->configuration->customers->customer configuration
- Under the "Create New Account Options" tab you will find the "Disable frontend customer registration" option
- Enable this option to activate the plugin