mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-20 22:50:22 -04:00
Collect terms consent from the user during SSO registration (#9276)
This commit is contained in:
parent
e5d70c8a82
commit
c543bf87ec
9 changed files with 230 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue