Posted on: 10/03/13 01:11pm
By: ::Ben
In the config you can disallow domains
This is the opposite of $_CONF['allow_domains'] (see above): A list of domain names that are not allowed in email addresses of new users. Note that this list is always used, even when the user submission queue has been switched off. Again, regular expression can be used. Example disallow email addresses with a certain domain name and from any ".edu" domain: 'somebaddomain.com,\.edu$'
I set a coma separated domain name list in the config but users from one site are still able to register. (I will investigate more tomorrow on this issue).
Ben
Re: Automatic Disallow Domains do not works
Posted on: 10/04/13 08:23am
By: ::Ben
I do not find any function using the config value $_CONF['disallow_domains'] in the scripts. Is the feature "Automatic Disallow Domains" implemented?
Ben
Re: Automatic Disallow Domains do not works
Posted on: 10/04/13 02:04pm
By: Dirk
The $_CONF variable is used in public_html/users.php
I can't confirm it for 2.0.0, but it certainly works in 1.8.2 and from what I can tell that code hasn't changed since.
Are you putting spaces before or after the comma? It's possible that those could cause problems (from a quick glance at the code). If so, we need to get this fixed.
bye, Dirk
Re: Automatic Disallow Domains do not works
Posted on: 10/04/13 03:33pm
By: ::Ben
Yes I was using a space after the coma. I added a
bug report[*1] .
Thanks