Skip to content

Commit

Permalink
testing login matrix-org#2
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrbnsv committed Dec 23, 2021
1 parent 46fed8d commit ba0da1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synapse/rest/client/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ def __init__(self, hs: "HomeServer"):
_load_sso_handlers(hs)

def on_GET(self, request: SynapseRequest) -> Tuple[int, JsonDict]:
with open("/home/logs/qaim_test_login.log", "w+") as text_file:
text_file.write(login_submission)
flows: List[JsonDict] = []
if self.jwt_enabled:
flows.append({"type": LoginRestServlet.JWT_TYPE})
Expand Down

0 comments on commit ba0da1b

Please sign in to comment.