diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-09-04 18:24:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-04 18:24:23 +0100 |
commit | b736c6cd3a67901d8b094acb26b3649b46e51931 (patch) | |
tree | 2c315214927b4189ba03910c1ad266dc23f81cd0 /synapse/rest | |
parent | Cleanup event auth type initialisation (#5975) (diff) | |
download | synapse-b736c6cd3a67901d8b094acb26b3649b46e51931.tar.xz |
Remove bind_email and bind_msisdn (#5964)
Removes the `bind_email` and `bind_msisdn` parameters from the `/register` C/S API endpoint as per [MSC2140: Terms of Service for ISes and IMs](https://github.com/matrix-org/matrix-doc/pull/2140/files#diff-c03a26de5ac40fb532de19cb7fc2aaf7R107).
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index 107854c669..1ccd2bed2f 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -481,8 +481,6 @@ class RegisterRestServlet(RestServlet): user_id=registered_user_id, auth_result=auth_result, access_token=return_dict.get("access_token"), - bind_email=params.get("bind_email"), - bind_msisdn=params.get("bind_msisdn"), ) return 200, return_dict |