fix embedded outpost create/delete logic

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt 2023-12-20 11:37:59 +01:00
parent 811b3266f6
commit 57f4dbcd49
No known key found for this signature in database
GPG Key ID: 9C3FA22FABF1AA8D
1 changed files with 1 additions and 1 deletions

View File

@ -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",