Don't allow registration from our email domains
Fixes https://github.com/fedora-infra/noggin/issues/234 Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
cc7b01d3ea
commit
97afd10e23
1 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,13 @@ THEME = "{{ noggin_theme }}"
|
|||
# Auto-gen avatar type to show if no avatar set
|
||||
AVATAR_DEFAULT_TYPE = "retro"
|
||||
|
||||
|
||||
# Don't allow regsitration with these email domains
|
||||
MAIL_DOMAIN_BLOCKLIST = [
|
||||
"fedoraproject.org",
|
||||
"centosproject.org",
|
||||
]
|
||||
|
||||
# Those file should be mounted from OpenShift secrets
|
||||
FREEIPA_ADMIN_PASSWORD = from_file('/etc/noggin-secrets/ipa-admin')
|
||||
FERNET_SECRET = from_file('/etc/noggin-secrets/fernet').encode('utf-8')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue