summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-09-10 10:33:48 +0100
committerErik Johnston <erik@matrix.org>2015-09-10 10:44:56 +0100
commitca32c7a0657c056a4d503b92e4120b880639663f (patch)
tree00e5963699d32386ec98a649f19b107ded227d7d
parentBump version and change log (diff)
downloadsynapse-ca32c7a0657c056a4d503b92e4120b880639663f.tar.xz
Fix adding threepids to an existing account
-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):