summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-12 15:51:42 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-06-12 15:51:42 +0100
commita55b2efca1e5a025e2c853fe0f41e6498e73bdd0 (patch)
treee7f8072ced321dc530e72f3a4c0a479a24e6e49f
parentMerge branch 'master' into dinsic (diff)
downloadsynapse-a55b2efca1e5a025e2c853fe0f41e6498e73bdd0.tar.xz
Fix path for password policy endpoints
-rw-r--r--synapse/rest/client/v2_alpha/password_policy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/password_policy.py b/synapse/rest/client/v2_alpha/password_policy.py
index d6e00de12c..968403cca4 100644
--- a/synapse/rest/client/v2_alpha/password_policy.py
+++ b/synapse/rest/client/v2_alpha/password_policy.py
@@ -17,13 +17,13 @@ import logging
 
 from synapse.http.servlet import RestServlet
 
-from ._base import client_v2_patterns
+from ._base import client_patterns
 
 logger = logging.getLogger(__name__)
 
 
 class PasswordPolicyServlet(RestServlet):
-    PATTERNS = client_v2_patterns("/password_policy$")
+    PATTERNS = client_patterns("/password_policy$")
 
     def __init__(self, hs):
         """