summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-03-28 17:38:01 +0000
committerGitHub <noreply@github.com>2019-03-28 17:38:01 +0000
commitc7296bcb98e41caef25d59c85dfd043ea95a1835 (patch)
tree53e5a06f3fbb0c4a704d4ff5ef9f9d57c9dc10fe
parentAllow password providers to bind emails (#4947) (diff)
downloadsynapse-c7296bcb98e41caef25d59c85dfd043ea95a1835.tar.xz
remove log line for password (#4965)
Remove log line for password.
-rw-r--r--changelog.d/4965.misc1
-rw-r--r--synapse/rest/client/v1/admin.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/changelog.d/4965.misc b/changelog.d/4965.misc
new file mode 100644
index 0000000000..284c58b75e
--- /dev/null
+++ b/changelog.d/4965.misc
@@ -0,0 +1 @@
+Remove log line for password via the admin API.
diff --git a/synapse/rest/client/v1/admin.py b/synapse/rest/client/v1/admin.py
index e788769639..1a26f5a1a6 100644
--- a/synapse/rest/client/v1/admin.py
+++ b/synapse/rest/client/v1/admin.py
@@ -647,8 +647,6 @@ class ResetPasswordRestServlet(ClientV1RestServlet):
         assert_params_in_dict(params, ["new_password"])
         new_password = params['new_password']
 
-        logger.info("new_password: %r", new_password)
-
         yield self._set_password_handler.set_password(
             target_user_id, new_password, requester
         )