mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 19:00:21 +00:00
Oops, remove debug logging
This commit is contained in:
parent
385aec4010
commit
9c491366c5
1 changed files with 0 additions and 4 deletions
|
@ -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…
Reference in a new issue