diff options
author | David Baker <dbkr@users.noreply.github.com> | 2017-03-24 10:32:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 10:32:57 +0000 |
commit | e36950dec50cd494eb5906418a58b0976d38ee5a (patch) | |
tree | a8f7788e4107eefd095bd7c20014ceffbe38f265 /synapse | |
parent | Merge pull request #2056 from matrix-org/dbkr/fix_invite_reject (diff) | |
parent | Oops, remove unintentional change (diff) | |
download | synapse-e36950dec50cd494eb5906418a58b0976d38ee5a.tar.xz |
Merge pull request #2055 from matrix-org/dbkr/fix_add_msisdn_requestToken
Fix token request for addition of phone numbers
Diffstat (limited to 'synapse')
-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)) |