Module for Magento 2 module which provide a possibility to disable customer registration on frontend
Module for Magento 2 which provide a possibility disable customer registration on Front End. Create customer from Admin still available, (*1)
Go to Magento 2 root directory, (*2)
Enter following commands to install module:, (*3)
composer require maxmage/disable-registration
Wait while dependencies are updated., (*4)
Enter following commands to enable module:, (*5)
php bin/magento module:enable MaxMage_DisableRegistration php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:clean
Enable the Disable Registration module in Magento Admin under Stores > Configuration > Customers > Disable Registration., (*6)
Enabled module automatically disable customer Registration, (*7)
, (*8)
Default Magento Customer login page with an ability registration, the result before module activation, (*9)
, (*10)
After activation "Disable Customer Registration" module, for visitors will not available registration block and visit by registration link will be automatically redirected to login page, (*11)
, (*12)