Oops, remove debug logging
This commit is contained in:
parent
385aec4010
commit
9c491366c5
|
@ -191,8 +191,6 @@ class ThreepidRestServlet(RestServlet):
|
||||||
def onThreepidEmailTokenRequest(self, request):
|
def onThreepidEmailTokenRequest(self, request):
|
||||||
body = parse_json_object_from_request(request)
|
body = parse_json_object_from_request(request)
|
||||||
|
|
||||||
logger.error("hi")
|
|
||||||
|
|
||||||
required = ['id_server', 'client_secret', 'email', 'send_attempt']
|
required = ['id_server', 'client_secret', 'email', 'send_attempt']
|
||||||
absent = []
|
absent = []
|
||||||
for k in required:
|
for k in required:
|
||||||
|
@ -206,8 +204,6 @@ class ThreepidRestServlet(RestServlet):
|
||||||
'email', body['email']
|
'email', body['email']
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.error("existing %r", existingUid)
|
|
||||||
|
|
||||||
if existingUid is not None:
|
if existingUid is not None:
|
||||||
raise SynapseError(400, "Email is already in use", Codes.THREEPID_IN_USE)
|
raise SynapseError(400, "Email is already in use", Codes.THREEPID_IN_USE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue