diff --git a/authentik/outposts/apps.py b/authentik/outposts/apps.py index 7eefbf5d3..42e4bf120 100644 --- a/authentik/outposts/apps.py +++ b/authentik/outposts/apps.py @@ -61,4 +61,4 @@ class AuthentikOutpostConfig(ManagedAppConfig): ) outpost.save() else: - Outpost.objects.delete(managed=MANAGED_OUTPOST) + Outpost.objects.filter(managed=MANAGED_OUTPOST).delete()