summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/account.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-07-14 10:25:52 +0100
committerErik Johnston <erik@matrix.org>2016-07-14 10:25:52 +0100
commit848d3bf2e136c0be5d68ad95ee5ab901ab59ee3d (patch)
tree79defe5a99a1d73f70267e4769a8476b3bd171aa /synapse/rest/client/v2_alpha/account.py
parentOnly accept password auth (diff)
downloadsynapse-848d3bf2e136c0be5d68ad95ee5ab901ab59ee3d.tar.xz
Add hs object
Diffstat (limited to 'synapse/rest/client/v2_alpha/account.py')
-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 366f1ec158..eb49ad62e9 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -125,6 +125,7 @@ class DeactivateAccountRestServlet(RestServlet):
     PATTERNS = client_v2_patterns("/account/deactivate$")
 
     def __init__(self, hs):
+        self.hs = hs
         self.store = hs.get_datastore()
         self.auth = hs.get_auth()
         self.auth_handler = hs.get_auth_handler()