summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/auth.py
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2016-06-02 14:31:35 +0100
committerDavid Baker <dbkr@users.noreply.github.com>2016-06-02 14:31:35 +0100
commitfb2193cc63c8297238423f0df547d4527a41eefc (patch)
treec62b3850a6fefbde1e8ab3bf63b8f279dd3075f0 /synapse/rest/client/v2_alpha/auth.py
parentDisable INCLUDE_ALL_UNREAD_NOTIFS (diff)
parentSplit out the auth handler (diff)
downloadsynapse-fb2193cc63c8297238423f0df547d4527a41eefc.tar.xz
Merge pull request #817 from matrix-org/dbkr/split_out_auth_handler
Split out the auth handler
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