]> source.dussan.org Git - gitea.git/commit
Support wildcard in email domain allow/block list (#24831)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 22 May 2023 00:05:44 +0000 (08:05 +0800)
committerGitHub <noreply@github.com>
Mon, 22 May 2023 00:05:44 +0000 (00:05 +0000)
commit2cb66fff60c95efbd58b797f1197f2421f4687ce
tree31f92c081c0bea16089a834c80c5797d8c78c1ac
parent19993d8814e227ac0a52b73d36fdb03fbb143c3f
Support wildcard in email domain allow/block list (#24831)

Replace #20257 (which is stale and incomplete)

Close #20255

Major changes:

* Deprecate the "WHITELIST", use "ALLOWLIST"
* Add wildcard support for EMAIL_DOMAIN_ALLOWLIST/EMAIL_DOMAIN_BLOCKLIST
* Update example config file and document
* Improve tests
custom/conf/app.example.ini
docs/content/doc/administration/config-cheat-sheet.en-us.md
modules/setting/service.go
modules/setting/service_test.go [new file with mode: 0644]
services/forms/user_form.go
services/forms/user_form_test.go