force CGU/EULA approval on account creation

This commit is contained in:
imperosol committed 2026-09-24 23:10:40 +02:00
1 parent 5b02bc2e3b
commit 4e3ed3212e
8 files changed
+75 -55

No files matched your search

+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()