vendredi 26 janvier 2018

Accept Terms and Conditions Once When Logging In

I have currently added a checkbox to my login page in order for the user to agree to the terms and conditions of our software. I added the required attribute to the checkbox so that the user would not be able to log in without checking it first. The part I'm having trouble with is making it so that the user only has to check the box once instead of checking it every time they log in. I read something about setting a cookie, but I couldn't figure out how to make that work.

What's the best way to go about this?




Aucun commentaire:

Enregistrer un commentaire