Boolean error in user save causing infinite recursion
This commit is contained in:
parent
f654444aab
commit
bff75cedf5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue