Remove debug logging and make diff nicer
6 files changed, 2 insertions, 6 deletions
diff --git a/changelog.d/5308.feature b/changelog.d/5308.feature
deleted file mode 100644
index 6aae41847a..0000000000
--- a/changelog.d/5308.feature
+++ /dev/null
@@ -1 +0,0 @@
-Add ability to perform password reset via email without trusting the identity server.
diff --git a/changelog.d/5345.feature b/changelog.d/5345.feature
deleted file mode 100644
index 6aae41847a..0000000000
--- a/changelog.d/5345.feature
+++ /dev/null
@@ -1 +0,0 @@
-Add ability to perform password reset via email without trusting the identity server.
diff --git a/changelog.d/5368.feature b/changelog.d/5368.feature
deleted file mode 100644
index 6aae41847a..0000000000
--- a/changelog.d/5368.feature
+++ /dev/null
@@ -1 +0,0 @@
-Add ability to perform password reset via email without trusting the identity server.
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index d8cf540f95..2392a11dce 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -1025,7 +1025,7 @@ password_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/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,
|