diff options
author | David Baker <dave@matrix.org> | 2017-03-23 18:46:17 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2017-03-23 18:46:17 +0000 |
commit | a2dfab12c5f0d27e38595763bb44a45b91374082 (patch) | |
tree | 79bced0cebdb39d75427336505882b96e37e8671 /synapse/rest | |
parent | Merge pull request #1783 from pik/filter-validation (diff) | |
download | synapse-a2dfab12c5f0d27e38595763bb44a45b91374082.tar.xz |
Fix token request for addition of phone numbers
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py index aac76edf1c..4990b22b9f 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py @@ -268,7 +268,7 @@ class MsisdnThreepidRequestTokenRestServlet(RestServlet): if existingUid is not None: raise SynapseError(400, "MSISDN is already in use", Codes.THREEPID_IN_USE) - ret = yield self.identity_handler.requestEmailToken(**body) + ret = yield self.identity_handler.requestMsisdnToken(**body) defer.returnValue((200, ret)) |