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-05-06 15:59:20 +0100
committerErik Johnston <erik@matrix.org>2016-05-06 15:59:20 +0100
commit012cb5416cded6453e676696d74cab871db4aaf8 (patch)
tree71f21e4d6d4a6fd4037cfbf0a200667d29f46247 /synapse/rest/client/v2_alpha/account.py
parentDelete old pushers (diff)
parentMerge pull request #767 from matrix-org/erikj/transaction_txn (diff)
downloadsynapse-012cb5416cded6453e676696d74cab871db4aaf8.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/push_actions_delete
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 7f8a6a4cf7..c88c270537 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -52,6 +52,7 @@ class PasswordRestServlet(RestServlet):
             defer.returnValue((401, result))
 
         user_id = None
+        requester = None
 
         if LoginType.PASSWORD in result:
             # if using password, they should also be logged in