This adds an option for kids (people under 18) to easily change user / clear demographics if they are not logged in.
The button is added to the demographics form.
Hopefully this will make kids switch user even if multiple are using the same machine.
If a user is logged in, the current user will be logged out and redirected to the sign in page.
If no user is signed in, the demographics will only be cleared. No redirect to sign in page.
Maybe we'll want to add a message in the future to encourage people to track their progress by signing in, if no one is signed in.
This adds an option for kids (people under 18) to easily change user / clear demographics if they are not logged in.
The button is added to the demographics form.
Hopefully this will make kids switch user even if multiple are using the same machine. If a user is logged in, the current user will be logged out and redirected to the sign in page. If no user is signed in, the demographics will only be cleared. No redirect to sign in page.
Maybe we'll want to add a message in the future to encourage people to track their progress by signing in, if no one is signed in.