Block registration based on email domain (#5157)

* implement email domain whitelist
This commit is contained in:
Lanre Adelowo 2018-11-15 02:00:04 +01:00 committed by techknowlogick
parent 4c1f1f9646
commit b97af15de6
7 changed files with 106 additions and 0 deletions

View file

@ -194,6 +194,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
- `RECAPTCHA_SITEKEY`: **""**: Go to https://www.google.com/recaptcha/admin to get a sitekey for recaptcha.
- `DEFAULT_ENABLE_DEPENDENCIES`: **true** Enable this to have dependencies enabled by default.
- `ENABLE_USER_HEATMAP`: **true** Enable this to display the heatmap on users profiles.
- `EMAIL_DOMAIN_WHITELIST`: **\<empty\>**: If non-empty, list of domain names that can only be used to register
on this instance.
## Webhook (`webhook`)