agree create 3
This commit is contained in:
parent
fc7629edad
commit
99e2248626
@ -29,7 +29,7 @@ def gdpr_ask_agreement(request):
|
|||||||
|
|
||||||
for user in User.objects.filter(
|
for user in User.objects.filter(
|
||||||
is_active=True).all():
|
is_active=True).all():
|
||||||
if PendingGDPRAgree(user=user).objects.filterexists() or GDPRAgreed.objects.filter(user=user).exists() \
|
if PendingGDPRAgree.objects.filter(user=user).exists() or GDPRAgreed.objects.filter(user=user).exists() \
|
||||||
or user.email is None or user.email == '':
|
or user.email is None or user.email == '':
|
||||||
continue
|
continue
|
||||||
token = get_random_string(length=32)
|
token = get_random_string(length=32)
|
||||||
|
Loading…
Reference in New Issue
Block a user