From bf0f715a752d3f89e3476206dbc209497c98cade Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 30 Jun 2024 23:47:52 +0200 Subject: [PATCH] allow footer links that are not links Signed-off-by: Jens Langhammer --- authentik/brands/api.py | 2 +- schema.yml | 1 + web/src/flow/FlowExecutor.ts | 9 ++++++--- website/docs/core/settings.md | 2 ++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/authentik/brands/api.py b/authentik/brands/api.py index 3bf199b93bff..047c1cd3d75f 100644 --- a/authentik/brands/api.py +++ b/authentik/brands/api.py @@ -24,7 +24,7 @@ class FooterLinkSerializer(PassiveSerializer): """Links returned in Config API""" - href = CharField(read_only=True) + href = CharField(read_only=True, allow_null=True) name = CharField(read_only=True) diff --git a/schema.yml b/schema.yml index 31b0d9c51588..6423d941f94e 100644 --- a/schema.yml +++ b/schema.yml @@ -36634,6 +36634,7 @@ components: href: type: string readOnly: true + nullable: true name: type: string readOnly: true diff --git a/web/src/flow/FlowExecutor.ts b/web/src/flow/FlowExecutor.ts index c668828df51b..7e496938b1e6 100644 --- a/web/src/flow/FlowExecutor.ts +++ b/web/src/flow/FlowExecutor.ts @@ -503,10 +503,13 @@ export class FlowExecutor extends Interface implements StageHost {