summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-09-10 10:33:48 +0100
committerDavid Baker <dave@matrix.org>2015-09-10 10:33:48 +0100
commit30768dcf4082d54101c0a6a9ac3d04462a0395ac (patch)
treeb6d468926d665557df4f1a425dc56f457c46e836 /synapse/rest
parentChange log level to info (diff)
downloadsynapse-30768dcf4082d54101c0a6a9ac3d04462a0395ac.tar.xz
Fix adding threepids to an existing account
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v2_alpha/account.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py
index 522a312c9e..6281e2d029 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -96,6 +96,7 @@ class ThreepidRestServlet(RestServlet):
         self.hs = hs
         self.identity_handler = hs.get_handlers().identity_handler
         self.auth = hs.get_auth()
+        self.auth_handler = hs.get_handlers().auth_handler
 
     @defer.inlineCallbacks
     def on_GET(self, request):