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,
|
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(
|
outpost, updated = Outpost.objects.update_or_create(
|
||||||
defaults={
|
defaults={
|
||||||
"name": "authentik Embedded Outpost",
|
"name": "authentik Embedded Outpost",
|
||||||
|
|
Reference in New Issue