From cf72e5933b54c57c1eee06223eed359ef5acea35 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Mon, 25 Jan 2021 16:18:25 +0000 Subject: Add logging for client_secret passed to /account/3pid/add --- synapse/rest/client/v2_alpha/account.py | 1 + 1 file changed, 1 insertion(+) diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py index 65e68d641b..d10812b0f0 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py @@ -692,6 +692,7 @@ class ThreepidAddRestServlet(RestServlet): assert_params_in_dict(body, ["client_secret", "sid"]) sid = body["sid"] client_secret = body["client_secret"] + logger.info("GOT CLIENT_SECRET: %s, FULL BODY: %s", client_secret, body) assert_valid_client_secret(client_secret) await self.auth_handler.validate_user_via_ui_auth( -- cgit 1.4.1