forgejo/docs/content/doc/advanced
Damien Goutte-Gattat fc4a8c2980
Allow blocking some email domains from registering an account (#14667)
Gitea allows to whitelist email domains so that only email addresses from certain domains are allowed to register an account, but does not currently allows to do the opposite: blacklisting email domains so that addresses from certain domains are *forbidden* to register an account.

The idea has been briefly mentioned in the discussion about issue #6350, but never implemented. This PR does that.

The rationale is that, in my experience of running a Gitea instance, *a single email domain* is responsible for *most* of the spam accounts, and for *all* of the spam accounts that manage to get past the email confirmation step. So on top of the other spam mitigation measures already available (email confirmation, CAPTCHA, etc.), having the option to block a particularly annoying domain would be helpful.

close #13628
2021-02-15 00:31:29 +01:00
..
adding-legal-pages.en-us.md Add Privacy Policy and Terms of Service Page (#9513) 2020-01-14 14:34:40 +01:00
clone-filter.en-us.md [Docs] Clone filters (#14555) 2021-02-03 10:11:20 -05:00
cmd-embedded.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
config-cheat-sheet.en-us.md Allow blocking some email domains from registering an account (#14667) 2021-02-15 00:31:29 +01:00
config-cheat-sheet.zh-cn.md Improve vfsgen to not unzip bindata files but send to browser directly (#7109) 2020-12-24 12:25:17 +08:00
customizing-gitea.en-us.md Note that all template directories are relative to the CustomPath configuration, not a custom directory inside it (#14399) 2021-01-19 10:50:55 -05:00
customizing-gitea.zh-cn.md Rename custom/conf/app.ini.sample to custom/conf/app.example.ini for better syntax light on editor (#11926) 2020-06-17 23:16:59 -04:00
environment-variables.en-us.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
environment-variables.zh-cn.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
external-renderers.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
logging-documentation.en-us.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
mail-templates-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
make.fr-fr.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
make.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
repo-indexer.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
search-engines-indexation.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
signing.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
third-party-tools.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00