summary refs log tree commit diff
path: root/synapse/handlers/register.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-02-01 18:37:41 +0000
committerGitHub <noreply@github.com>2021-02-01 18:37:41 +0000
commitc543bf87ecf295fa68311beabd1dc013288a2e98 (patch)
tree2f779d4c658395bb4ba337e7cb90a3ca998c7be7 /synapse/handlers/register.py
parentImprove styling and wording of SSO UIA templates (#9286) (diff)
downloadsynapse-c543bf87ecf295fa68311beabd1dc013288a2e98.tar.xz
Collect terms consent from the user during SSO registration (#9276)
Diffstat (limited to 'synapse/handlers/register.py')
-rw-r--r--synapse/handlers/register.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py
index b20a5d8605..49b085269b 100644
--- a/synapse/handlers/register.py
+++ b/synapse/handlers/register.py
@@ -694,6 +694,8 @@ class RegistrationHandler(BaseHandler):
             access_token: The access token of the newly logged in device, or
                 None if `inhibit_login` enabled.
         """
+        # TODO: 3pid registration can actually happen on the workers. Consider
+        # refactoring it.
         if self.hs.config.worker_app:
             await self._post_registration_client(
                 user_id=user_id, auth_result=auth_result, access_token=access_token