diff options
author | David Baker <dbkr@users.noreply.github.com> | 2016-04-29 12:45:39 +0100 |
---|---|---|
committer | David Baker <dbkr@users.noreply.github.com> | 2016-04-29 12:45:39 +0100 |
commit | 56aae0eaf50240c039442fdae1378874ed002f2f (patch) | |
tree | d8b18c74881460e860a5b9f17fa5a5df3c3606e7 | |
parent | Fix more typos in per-request metrics (diff) | |
parent | Fix password reset (diff) | |
download | synapse-56aae0eaf50240c039442fdae1378874ed002f2f.tar.xz |
Merge pull request #758 from matrix-org/dbkr/fix_password_reset
Fix password reset
-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 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 |