forked from MirrorHub/synapse
Make the terms flow requried
This commit is contained in:
parent
3099d96dba
commit
dfcad5fad5
1 changed files with 4 additions and 4 deletions
|
@ -364,14 +364,14 @@ class RegisterRestServlet(RestServlet):
|
||||||
for flow in flows:
|
for flow in flows:
|
||||||
# To only allow registration if completing GDPR auth,
|
# To only allow registration if completing GDPR auth,
|
||||||
# making clients that don't support it use fallback 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
|
# 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
|
# end so clients that support it can use it but clients that don't
|
||||||
# continue to consent via the DM from server notices bot.
|
# continue to consent via the DM from server notices bot.
|
||||||
new_flows.extend([
|
#new_flows.extend([
|
||||||
flow + [LoginType.TERMS]
|
# flow + [LoginType.TERMS]
|
||||||
])
|
#])
|
||||||
flows.extend(new_flows)
|
flows.extend(new_flows)
|
||||||
|
|
||||||
auth_result, params, session_id = yield self.auth_handler.check_auth(
|
auth_result, params, session_id = yield self.auth_handler.check_auth(
|
||||||
|
|
Loading…
Reference in a new issue