mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 13:53:52 +01:00
Fix a typo when comparing the URI & method during UI Auth. (#7689)
This commit is contained in:
parent
a3fbc23c39
commit
d0a43d431e
2 changed files with 2 additions and 1 deletions
1
changelog.d/7689.bugfix
Normal file
1
changelog.d/7689.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Compare the URI and method during user interactive authentication (instead of the URI twice). Bug introduced in 1.13.0rc1.
|
|
@ -297,7 +297,7 @@ class AuthHandler(BaseHandler):
|
||||||
|
|
||||||
# Convert the URI and method to strings.
|
# Convert the URI and method to strings.
|
||||||
uri = request.uri.decode("utf-8")
|
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 there's no session ID, create a new session.
|
||||||
if not sid:
|
if not sid:
|
||||||
|
|
Loading…
Reference in a new issue