summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-20 15:41:21 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-20 15:41:21 +0000
commitb7424f4943e0fd1d3384bf8d1f4d97499a0e8029 (patch)
tree8364699570d6f2e6d3d4ae579201f5eafd8bfe20 /synapse/handlers/auth.py
parentRoom Complexity Client Implementation (#5783) (diff)
parentRemove non-functional 'expire_access_token' setting (#5782) (diff)
downloadsynapse-b7424f4943e0fd1d3384bf8d1f4d97499a0e8029.tar.xz
Remove non-functional 'expire_access_token' setting (#5782)
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 bf124032f1..9ce9ce4929 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -860,7 +860,7 @@ class AuthHandler(BaseHandler):
         try:
             macaroon = pymacaroons.Macaroon.deserialize(login_token)
             user_id = auth_api.get_user_id_from_macaroon(macaroon)
-            auth_api.validate_macaroon(macaroon, "login", True, user_id)
+            auth_api.validate_macaroon(macaroon, "login", user_id)
         except Exception:
             raise AuthError(403, "Invalid token", errcode=Codes.FORBIDDEN)
         self.ratelimit_login_per_account(user_id)