summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2015-09-10 10:36:58 +0100
committerDavid Baker <dbkr@users.noreply.github.com>2015-09-10 10:36:58 +0100
commit184a5c81f00c693fa23daad14dba3e819a820e69 (patch)
treee68732cfc6df98ad70bc194634c42b13fe36c600
parentMerge pull request #270 from matrix-org/markjh/fix_metrics (diff)
parentFix adding threepids to an existing account (diff)
downloadsynapse-184a5c81f00c693fa23daad14dba3e819a820e69.tar.xz
Merge pull request #274 from matrix-org/add_threepid_fix
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 b5edffdb60..4692ba413c 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):