diff options
author | Travis Ralston <travpc@gmail.com> | 2018-10-03 15:54:32 -0600 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2018-10-03 17:39:00 -0600 |
commit | dfcad5fad5fbfac0a9182853d1acfe410e7cd888 (patch) | |
tree | 338fe1ca1bc5551aa8a56d5eb42d68fc8b8ec79c /synapse/rest/client/v2_alpha | |
parent | Flesh out the fallback auth for terms (diff) | |
download | synapse-dfcad5fad5fbfac0a9182853d1acfe410e7cd888.tar.xz |
Make the terms flow requried
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index dedf5269ed..78e63447a7 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -364,14 +364,14 @@ class RegisterRestServlet(RestServlet): for flow in flows: # To only allow registration if completing GDPR auth, # making clients that don't support it use fallback auth. - #flow.append(LoginType.TERMS) + flow.append(LoginType.TERMS) # or to duplicate all the flows above with the GDPR flow on the # end so clients that support it can use it but clients that don't # continue to consent via the DM from server notices bot. - new_flows.extend([ - flow + [LoginType.TERMS] - ]) + #new_flows.extend([ + # flow + [LoginType.TERMS] + #]) flows.extend(new_flows) auth_result, params, session_id = yield self.auth_handler.check_auth( |