summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-06-06 16:38:18 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-06-06 16:38:18 +0100
commit5d6e3a2c8363563c9bb73449e3fd5876282a046d (patch)
treee0596d91a45c84923a423fd59651ea79a1e49da0 /synapse
parentlint (diff)
downloadsynapse-5d6e3a2c8363563c9bb73449e3fd5876282a046d.tar.xz
Remove debug logging and make diff nicer
Diffstat (limited to '')
-rw-r--r--synapse/config/emailconfig.py2
-rw-r--r--synapse/rest/client/v2_alpha/account.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/synapse/config/emailconfig.py b/synapse/config/emailconfig.py
index 19d38d7d89..ae04252906 100644
--- a/synapse/config/emailconfig.py
+++ b/synapse/config/emailconfig.py
@@ -231,7 +231,7 @@ class EmailConfig(Config):
         # smtp_pass variables should be used
         #
         #email:
-        #   enable_notifs: False
+        #   enable_notifs: false
         #   smtp_host: "localhost"
         #   smtp_port: 25 # SSL: 465, STARTTLS: 587
         #   smtp_user: "exampleusername"
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py
index 75822823c3..e4c63b69b9 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -176,7 +176,6 @@ class EmailPasswordRequestTokenRestServlet(RestServlet):
 
         token_expires = (self.hs.clock.time_msec() +
                          self.config.email_validation_token_lifetime)
-        logger.info("lifetime: %s", self.config.email_validation_token_lifetime)
 
         yield self.datastore.start_or_continue_validation_session(
             "email", email, session_id, client_secret, send_attempt,