Fix #642: Race condition searching for unseen users
This commit is contained in:
parent
dd532e4425
commit
6c83d7b67b
|
@ -394,6 +394,8 @@ class Identity(StatorModel):
|
|||
domain = domain.domain
|
||||
else:
|
||||
domain = domain.lower()
|
||||
|
||||
with transaction.atomic():
|
||||
try:
|
||||
if local:
|
||||
return cls.objects.get(
|
||||
|
|
Loading…
Reference in New Issue