summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/register.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client/v2_alpha/register.py')
-rw-r--r--synapse/rest/client/v2_alpha/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index ad04383555..1ecc02d94d 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -221,7 +221,7 @@ class RegisterRestServlet(RestServlet):
                     # notifs are set up on a home server)
                     if (
                         self.hs.config.email_enable_notifs and
-                        self.hs.config.email_notifs_for_new_users
+                        self.hs.config.email_notif_for_new_users
                     ):
                         # Pull the ID of the access token back out of the db
                         # It would really make more sense for this to be passed