force CGU/EULA approval on account creation

This commit is contained in:
imperosol
2026-09-24 23:10:40 +02:00
parent 5b02bc2e3b
commit 4e3ed3212e
8 changed files with 75 additions and 55 deletions
+1
View File
@@ -291,6 +291,7 @@ class User(AbstractUser):
),
blank=True,
)
cgu_approved = models.BooleanField(_("ToS approved"), default=False)
godfathers = models.ManyToManyField("User", related_name="godchildren", blank=True)
objects = CustomUserManager()