summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-01-25 16:18:25 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2021-01-25 16:18:25 +0000
commitcf72e5933b54c57c1eee06223eed359ef5acea35 (patch)
treeeeaa62a7b8e5724b5d6f01ad70f87f6a515c4de6
parentTweak changes. (diff)
downloadsynapse-anoa/client_secret_ios_test.tar.xz
Add logging for client_secret passed to /account/3pid/add github/anoa/client_secret_ios_test anoa/client_secret_ios_test
-rw-r--r--synapse/rest/client/v2_alpha/account.py1
1 files changed, 1 insertions, 0 deletions
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(