mirror of
https://github.com/jeremyd/ergo.git
synced 2026-04-25 23:20:00 -07:00
* Fix #1997 (allow the use of an external file for the email blacklist) * Change config key names for blacklist (compatibility break) * Accept globs rather than regexes for blacklist by default * Blacklist comparison is now case-insensitive
This commit is contained in:
committed by
GitHub
parent
6b386ce2ac
commit
2013beb7c8
@@ -418,8 +418,13 @@ accounts:
|
||||
# username: "admin"
|
||||
# password: "hunter2"
|
||||
# implicit-tls: false # TLS from the first byte, typically on port 465
|
||||
blacklist-regexes:
|
||||
# - ".*@mailinator.com"
|
||||
# addresses that are not accepted for registration:
|
||||
address-blacklist:
|
||||
# - "*@mailinator.com"
|
||||
address-blacklist-syntax: "glob" # change to "regex" for regular expressions
|
||||
# file of newline-delimited address blacklist entries in the above syntax;
|
||||
# supersedes address-blacklist if set:
|
||||
# address-blacklist-file: "/path/to/address-blacklist-file"
|
||||
timeout: 60s
|
||||
# email-based password reset:
|
||||
password-reset:
|
||||
|
||||
Reference in New Issue
Block a user