Skip to content

Commit

Permalink
testing login matrix-org#1
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrbnsv committed Dec 23, 2021
1 parent 4b54a44 commit 46fed8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions synapse/rest/client/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ def on_GET(self, request: SynapseRequest) -> Tuple[int, JsonDict]:
async def on_POST(self, request: SynapseRequest) -> Tuple[int, LoginResponse]:
login_submission = parse_json_object_from_request(request)

with open("/home/logs/qaim_test_login.log", "w+") as text_file:
text_file.write(login_submission)

if self._msc2918_enabled:
# Check if this login should also issue a refresh token, as per
# MSC2918
Expand Down

0 comments on commit 46fed8d

Please sign in to comment.