mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-17 12:40:16 -04:00
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).
This commit is contained in:
parent
b09d443632
commit
b736c6cd3a
4 changed files with 10 additions and 64 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue