Comment to allow only gmail accounts to sign up
-
Allow only particular email domains to signup
You can use the following hidden feature, to activate it, run the following queries:
INSERT IGNORE INTO `bx_antispam_disposable_email_domains` (`id`, `domain`, `list`) VALUES (NULL, 'gmail.com', 'custom_whitelist'); UPDATE `sys_options` SET `value` = 'whitelist' WHERE `name` = 'bx_antispam_disposable_email_domains_mode';
Then clear DB cache.
Please note, that these settings will be changed back if you edit any of Antispam module settings, so you will need to run it again after editing Antispam module settings.
-
Thanks Alex, and if I want to do the opposite, ban some areas?
It would be very interesting to be able to do it directly from the settings of the Antispam module so that it is not easy and that it is registered once and for all. -
Baloo there is already big list of disposable emails are blocked:
You can add more by executing the following query:
INSERT IGNORE INTO `bx_antispam_disposable_email_domains` (`id`, `domain`, `list`) VALUES (NULL, 'badmail.com', 'custom_blacklist'), (NULL, 'dirtymail.com', 'custom_blacklist');
-
-