Oops, remove debug logging

pull/4/merge
David Baker 8 years ago
parent 385aec4010
commit 9c491366c5
  1. 4
      synapse/rest/client/v2_alpha/account.py

@ -191,8 +191,6 @@ class ThreepidRestServlet(RestServlet):
def onThreepidEmailTokenRequest(self, request):
body = parse_json_object_from_request(request)
logger.error("hi")
required = ['id_server', 'client_secret', 'email', 'send_attempt']
absent = []
for k in required:
@ -206,8 +204,6 @@ class ThreepidRestServlet(RestServlet):
'email', body['email']
)
logger.error("existing %r", existingUid)
if existingUid is not None:
raise SynapseError(400, "Email is already in use", Codes.THREEPID_IN_USE)

Loading…
Cancel
Save