Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.x] Add support for terms of service and privacy policy checkbox #448

Merged
merged 9 commits into from
Nov 13, 2020

Conversation

themsaid
Copy link
Member

This PR adds support for a Feature::termsAndPolicy feature that shows a checkbox on registration that users need to check before they can continue.

It also publishes a terms.md and policy.md files in the project root where people can write the content in markdown and it'll be parsed by Parsedown and formatted by Tailwind's prose plugin.

Screen Shot 2020-11-12 at 10 28 39 AM

Screen Shot 2020-11-12 at 10 29 38 AM

Screen Shot 2020-11-12 at 10 29 47 AM

Screen Shot 2020-11-12 at 10 30 05 AM

@themsaid themsaid changed the title add support for terms of service and privacy policy chekcbox [2.x] Add support for terms of service and privacy policy checkbox Nov 12, 2020
@ConnorHowell
Copy link

One question, should route registration not check for 'Jetstream::hasTermsAndPrivacyPolicyFeature()' first?

This way it's inline with the other optional features that register routes.

@taylorotwell
Copy link
Member

One question, should route registration not check for 'Jetstream::hasTermsAndPrivacyPolicyFeature()' first?

This way it's inline with the other optional features that register routes.

Fixed this.

@taylorotwell taylorotwell merged commit 8210f04 into master Nov 13, 2020
@driesvints driesvints deleted the termsAndPolicy branch November 13, 2020 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants