diff options
author | Erik Johnston <erik@matrix.org> | 2016-07-14 10:25:52 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-07-14 10:25:52 +0100 |
commit | 848d3bf2e136c0be5d68ad95ee5ab901ab59ee3d (patch) | |
tree | 79defe5a99a1d73f70267e4769a8476b3bd171aa /synapse/rest/client/v2_alpha/account.py | |
parent | Only accept password auth (diff) | |
download | synapse-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.py | 1 |
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() |