summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/auth.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-06-02 13:35:25 +0100
committerDavid Baker <dave@matrix.org>2016-06-02 13:35:25 +0100
commit3a3fb2f6f9d958d62a96391491f794042d1a419c (patch)
treeb0085e37f02db4f019440086a91905057843889b /synapse/rest/client/v2_alpha/auth.py
parentEmail unsubscribing that may in theory, work (diff)
parentSplit out the auth handler (diff)
downloadsynapse-3a3fb2f6f9d958d62a96391491f794042d1a419c.tar.xz
Merge branch 'dbkr/split_out_auth_handler' into dbkr/email_unsubscribe
Diffstat (limited to 'synapse/rest/client/v2_alpha/auth.py')
-rw-r--r--synapse/rest/client/v2_alpha/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/auth.py b/synapse/rest/client/v2_alpha/auth.py
index 78181b7b18..58d3cad6a1 100644
--- a/synapse/rest/client/v2_alpha/auth.py
+++ b/synapse/rest/client/v2_alpha/auth.py
@@ -104,7 +104,7 @@ class AuthRestServlet(RestServlet):
         super(AuthRestServlet, self).__init__()
         self.hs = hs
         self.auth = hs.get_auth()
-        self.auth_handler = hs.get_handlers().auth_handler
+        self.auth_handler = hs.get_auth_handler()
         self.registration_handler = hs.get_handlers().registration_handler
 
     @defer.inlineCallbacks