summaryrefslogtreecommitdiff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2020-07-09 08:37:25 +0200
committerAndrej Shadura <andrewsh@debian.org>2020-07-09 08:37:25 +0200
commit5c1041a8f06afe64946fb5ca055a3f20b6378556 (patch)
tree233b8175c7059613cbd3ac020f87e56c9feedda9 /synapse/handlers/auth.py
parent7da7769b791b28ac914f607ed6a08995bfe7cdef (diff)
New upstream version 1.16.0
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index bb3b43d5..c3f86e74 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -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: