1
0

Fix resetting password via a phone number (#21)

This commit is contained in:
Andrew Morgan
2020-01-24 15:23:31 +00:00
committed by GitHub
parent 0cc2594966
commit e5f40dda27
2 changed files with 2 additions and 1 deletions

1
changelog.d/21.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix resetting user passwords via a phone number.

View File

@@ -339,7 +339,7 @@ class PasswordResetSubmitTokenServlet(RestServlet):
assert_valid_client_secret(body["client_secret"])
valid, _ = yield self.datastore.validate_threepid_validation_token(
valid, _ = yield self.datastore.validate_threepid_session(
body['sid'],
body['client_secret'],
body['token'],