Merge pull request #758 from matrix-org/dbkr/fix_password_reset
Fix password reset
This commit is contained in:
commit
56aae0eaf5
|
@ -52,6 +52,7 @@ class PasswordRestServlet(RestServlet):
|
||||||
defer.returnValue((401, result))
|
defer.returnValue((401, result))
|
||||||
|
|
||||||
user_id = None
|
user_id = None
|
||||||
|
requester = None
|
||||||
|
|
||||||
if LoginType.PASSWORD in result:
|
if LoginType.PASSWORD in result:
|
||||||
# if using password, they should also be logged in
|
# if using password, they should also be logged in
|
||||||
|
|
Loading…
Reference in New Issue