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

ToS acceptation #3713

Open
lbesson opened this issue Nov 15, 2023 · 1 comment
Open

ToS acceptation #3713

lbesson opened this issue Nov 15, 2023 · 1 comment

Comments

@lbesson
Copy link
Member

lbesson commented Nov 15, 2023

This is a follow up of the backend part: c2corg/v6_api#1542

When the user logs in in the UI, and if the ToS are not accepted, a 403 will be returned with the body 'Terms of Service need to be accepted'

In that case, the UI should re-display the login form with a tickbox for accepting terms of conditions, and all 3 fields (login, email and tickbox) must be sent to the backend so that the ToS acceptation is stored in the db. Next logins will not get the 403.

Note: the backend part has not been merged yet. Please see with developers in order to enable this for demo if you start working on it, or run the branch of the backend locally.

@florentcadot
Copy link
Contributor

Here is one attempt to solve this issue: #3838

florentcadot added a commit to florentcadot/c2c_ui that referenced this issue Feb 25, 2024
florentcadot added a commit to florentcadot/c2c_ui that referenced this issue Feb 25, 2024
florentcadot added a commit to florentcadot/c2c_ui that referenced this issue Feb 26, 2024
florentcadot added a commit to florentcadot/c2c_ui that referenced this issue Feb 26, 2024
github-merge-queue bot pushed a commit that referenced this issue Dec 19, 2024
feat: #3713 show ToS checkbox if ToS error on login
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

No branches or pull requests

2 participants