viraxpress/restrict-registration
最新稳定版本:1.0.0
Composer 安装命令:
composer require viraxpress/restrict-registration
包简介
Restrict Registration for ViraXpress
README 文档
README
Magento 2 extension to block customer account creation by email domain or IP address.
Description
ViraXpress_RestrictRegistration adds registration restrictions for Magento 2 stores by preventing new customer account creation when the registering email matches a blocked domain or when the request originates from a blocked IP address.
The extension supports backend configuration for both restriction types, including custom error messages shown to users when registration is denied.
Features
- Block customer registration by email domain.
- Block customer registration by IP address.
- Configure custom error messages for each restriction.
- Admin UI fields for managing multiple restricted domains and IP addresses.
- Works for both standard frontend registration and API-based account creation.
Compatibility
-- Magento: 2.4.x
Installation
-
Install the extension via Composer:
composer require viraxpress/restrict-registration
-
Run the following commands from your Magento root directory:
php bin/magento module:enable ViraXpress_RestrictRegistration php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush
-
In the Magento admin, go to
Stores > Configurationand locate theViraXpresstab. -
Open
Restrict Registration. -
Enable and configure either or both of the following groups:
Restrict Registration For Email DomainsRestrict Registration For Customer IP Address
-
Save configuration.
Configuration
Enable To Email Restrict: enable or disable email domain restrictions.Email Domains To Restrict: add blocked email domains (example:qq.com).Message to Display: optional custom error message for blocked email domains.Enable To Customer IP Address Restrict: enable or disable IP address restrictions.Customer IP Address Restrict: add blocked IP addresses (example:104.56.34.134).Message to Display: optional custom error message for blocked IP addresses.
Support
For support, please contact ViraXpress at https://www.viraxpress.com or refer to the license agreement.
License
This extension is licensed under the ViraXpress license agreement. See https://www.viraxpress.com/license for details.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2026-06-11