Magento 2 Customer Restriction
magekey/module-customer-restriction
Restricts customer registration and login based on email patterns defined in the Magento configuration. Allows setting custom error messages for restricted access.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubMagento 2 Customer Restriction
Features:
Navigate to Stores > Configuration > Customers section > Customer Restriction
- Customer Registration
- restriction by email patterns
- set error message
- Customer Login
- restriction by email patterns
- set error message
Installing the Extension
composer require magekey/module-customer-restriction
Deployment
php bin/magento maintenance:enable #Enable maintenance mode
php bin/magento setup:upgrade #Updates the Magento software
php bin/magento setup:di:compile #Compile dependencies
php bin/magento setup:static-content:deploy #Deploys static view files
php bin/magento cache:flush #Flush cache
php bin/magento maintenance:disable #Disable maintenance mode
Versions tested
2.1.12
2.2.3
2.3.1
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.