fix embedded outpost create/delete logic
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
parent
811b3266f6
commit
57f4dbcd49
|
@ -40,7 +40,7 @@ class AuthentikOutpostConfig(ManagedAppConfig):
|
|||
OutpostType,
|
||||
)
|
||||
|
||||
if CONFIG.get_bool("outposts.disable_embedded_outpost", False):
|
||||
if not CONFIG.get_bool("outposts.disable_embedded_outpost", False):
|
||||
outpost, updated = Outpost.objects.update_or_create(
|
||||
defaults={
|
||||
"name": "authentik Embedded Outpost",
|
||||
|
|
Reference in New Issue