Boolean error in user save causing infinite recursion
This commit is contained in:
@ -179,7 +179,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
|
|||||||
super().save(*args, **kwargs)
|
super().save(*args, **kwargs)
|
||||||
|
|
||||||
# this user already exists, no need to populate fields
|
# this user already exists, no need to populate fields
|
||||||
if created:
|
if not created:
|
||||||
super().save(*args, **kwargs)
|
super().save(*args, **kwargs)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user