Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Make the user agree to T&C during registration & record which document they agreed to #2325

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Feb 7, 2024

Fixes #22

If branding.tos_uri is set in the config, this adds a mandatory checkbox during registration.
It then records which the URL of the TOS that the user agreed to in a user_terms table.

Note that this doesn't force the user to agree to TOS if they change or anything like that, but the DB schema should be flexible enough to implement that in the future.

image

image

Copy link

cloudflare-workers-and-pages bot commented Feb 7, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8a770d3
Status: ✅  Deploy successful!
Preview URL: https://f5c5886c.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-terms.matrix-authentication-service-docs.pages.dev

View logs

@sandhose sandhose marked this pull request as ready for review February 7, 2024 14:21
@sandhose sandhose added the A-Registration-Flow Related to the user registration flow label Feb 7, 2024
@sandhose sandhose force-pushed the quenting/terms branch 2 times, most recently from 6f88e72 to cb9600c Compare February 7, 2024 15:13
@americanrefugee
Copy link

@sandhose
Copy link
Member Author

sandhose commented Feb 7, 2024

@americanrefugee Thanks, I updated the spacing and wording. The weird spacing around the link is a compound-web bug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Registration-Flow Related to the user registration flow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Instance terms of services and privacy policy
2 participants