mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 11:53:49 +01:00
Fix password reset
Default requester to None, otherwise it isn't defined when resetting using email auth
This commit is contained in:
parent
351b50a887
commit
dc2c527ce9
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue