Backport #26200 by @lunny Fix #25951 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> (cherry picked from commit 499c5594c3)
499c5594c3
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