summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-29 20:28:47 +0100
committerDavid Baker <dave@matrix.org>2016-04-29 20:28:47 +0100
commit2df75de505ffe32b8d45fcb0b34b5e0cac9b2fd0 (patch)
tree1888ccebfc841a4d7f0abb65db2fe2df502ad4cd /synapse/rest/client
parentAdd constant for throttle multiplier (diff)
parentMerge pull request #758 from matrix-org/dbkr/fix_password_reset (diff)
downloadsynapse-2df75de505ffe32b8d45fcb0b34b5e0cac9b2fd0.tar.xz
Merge remote-tracking branch 'origin/develop' into dbkr/email_notifs
Diffstat (limited to 'synapse/rest/client')
-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