0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-07 23:28:57 +01:00

remove debug logging

This commit is contained in:
David Baker 2016-03-16 19:49:42 +00:00
parent f984decd66
commit 5670205e2a

View file

@ -123,7 +123,6 @@ class RegisterRestServlet(RestServlet):
guest_access_token = body.get("guest_access_token", None)
session_id = self.auth_handler.get_session_id(body)
logger.error("session id: %r", session_id)
registered_user_id = None
if session_id:
# if we get a registered user id out of here, it means we previously
@ -133,8 +132,6 @@ class RegisterRestServlet(RestServlet):
registered_user_id = self.auth_handler.get_session_data(
session_id, "registered_user_id", None
)
logger.error("already regged: %r", registered_user_id)
logger.error("check: %r", desired_username)
if desired_username is not None:
yield self.registration_handler.check_username(