Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix a typo when comparing the URI & method during UI Auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Jun 12, 2020
1 parent a3fbc23 commit dc49fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/7689.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Compare the URI and method during user interactive authentication (instead of the URI twice). Bug introduced in 1.13.0rc1.
2 changes: 1 addition & 1 deletion synapse/handlers/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ async def check_auth(

# Convert the URI and method to strings.
uri = request.uri.decode("utf-8")
method = request.uri.decode("utf-8")
method = request.method.decode("utf-8")

# If there's no session ID, create a new session.
if not sid:
Expand Down

0 comments on commit dc49fc5

Please sign in to comment.