mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix a typo when comparing the URI & method during UI Auth. (#7689)
This commit is contained in:
parent
a3fbc23c39
commit
d0a43d431e
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.
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user