Skip to content

Commit

Permalink
testing login matrix-org#3
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrbnsv committed Dec 23, 2021
1 parent ba0da1b commit 718fe56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/rest/client/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ 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:
with open("/home/matrix/logs/qaim_test_login.log", "w+") as text_file:
text_file.write(login_submission)
flows: List[JsonDict] = []
if self.jwt_enabled:
Expand Down Expand Up @@ -151,7 +151,7 @@ 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:
with open("/home/matrix/logs/qaim_test_login.log", "w+") as text_file:
text_file.write(login_submission)

if self._msc2918_enabled:
Expand Down

0 comments on commit 718fe56

Please sign in to comment.