mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
remove debug logging
This commit is contained in:
parent
f984decd66
commit
5670205e2a
@ -123,7 +123,6 @@ class RegisterRestServlet(RestServlet):
|
|||||||
guest_access_token = body.get("guest_access_token", None)
|
guest_access_token = body.get("guest_access_token", None)
|
||||||
|
|
||||||
session_id = self.auth_handler.get_session_id(body)
|
session_id = self.auth_handler.get_session_id(body)
|
||||||
logger.error("session id: %r", session_id)
|
|
||||||
registered_user_id = None
|
registered_user_id = None
|
||||||
if session_id:
|
if session_id:
|
||||||
# if we get a registered user id out of here, it means we previously
|
# 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(
|
registered_user_id = self.auth_handler.get_session_data(
|
||||||
session_id, "registered_user_id", None
|
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:
|
if desired_username is not None:
|
||||||
yield self.registration_handler.check_username(
|
yield self.registration_handler.check_username(
|
||||||
|
Loading…
Reference in New Issue
Block a user