summary refs log tree commit diff
path: root/synapse/config/registration.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-09-23 22:21:03 +0200
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-09-23 21:21:03 +0100
commit50776261e1565afe45a1cfd4a991c24110c2e519 (patch)
tree14d5e585b645f0002d9f8b2c5236681389a6e756 /synapse/config/registration.py
parentAdd an unstable feature flag for separate add/bind 3pid APIs (#6044) (diff)
downloadsynapse-50776261e1565afe45a1cfd4a991c24110c2e519.tar.xz
Add submit_url response parameter to msisdn /requestToken (#6079)
Second part of solving #6076
Fixes #6076

We return a submit_url parameter on calls to POST */msisdn/requestToken so that clients know where to submit token information to.
Diffstat (limited to 'synapse/config/registration.py')
-rw-r--r--synapse/config/registration.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py
index d4654e99b3..bef89e2bf4 100644
--- a/synapse/config/registration.py
+++ b/synapse/config/registration.py
@@ -293,6 +293,8 @@ class RegistrationConfig(Config):
         # by the Matrix Identity Service API specification:
         # https://matrix.org/docs/spec/identity_service/latest
         #
+        # If a delegate is specified, the config option public_baseurl must also be filled out.
+        #
         account_threepid_delegates:
             #email: https://example.com     # Delegate email sending to example.org
             #msisdn: http://localhost:8090  # Delegate SMS sending to this local process