summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/register.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-06-02 13:31:45 +0100
committerDavid Baker <dave@matrix.org>2016-06-02 13:31:45 +0100
commit4a10510cd5aff790127a185ecefc83b881a717cc (patch)
treef97be85047a563d33cbd234f36d271147ce664e9 /synapse/rest/client/v2_alpha/register.py
parentMerge pull request #815 from matrix-org/dbkr/email_greeting_not_none (diff)
downloadsynapse-4a10510cd5aff790127a185ecefc83b881a717cc.tar.xz
Split out the auth handler
Diffstat (limited to 'synapse/rest/client/v2_alpha/register.py')
-rw-r--r--synapse/rest/client/v2_alpha/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index 1ecc02d94d..2088c316d1 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -49,7 +49,7 @@ class RegisterRestServlet(RestServlet):
         self.hs = hs
         self.auth = hs.get_auth()
         self.store = hs.get_datastore()
-        self.auth_handler = hs.get_handlers().auth_handler
+        self.auth_handler = hs.get_auth_handler()
         self.registration_handler = hs.get_handlers().registration_handler
         self.identity_handler = hs.get_handlers().identity_handler