summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--welco/contacts/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/welco/contacts/views.py b/welco/contacts/views.py
index edec7b1..aaa6482 100644
--- a/welco/contacts/views.py
+++ b/welco/contacts/views.py
@@ -131,7 +131,7 @@ class ContactAdd(FormView):
msg[field_key] = form[field_key].value()
msg['password'] = str(random.SystemRandom().random())
- msg['send_registration_email'] = True
+ msg['send_registration_email'] = getattr(settings, 'CONTACT_SEND_REGISTRATION_EMAIL', True)
authentic_site = settings.KNOWN_SERVICES.get('authentic').values()[0]
authentic_url = authentic_site.get('url')