From 57f4dbcd494ee2b73bc8342a489f1c405f73e6d7 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Wed, 20 Dec 2023 11:37:59 +0100 Subject: [PATCH] fix embedded outpost create/delete logic Signed-off-by: Marc 'risson' Schmitt --- authentik/outposts/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/apps.py b/authentik/outposts/apps.py index 42e4bf120..94a5bb788 100644 --- a/authentik/outposts/apps.py +++ b/authentik/outposts/apps.py @@ -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",