From 67b88595adc9f015c87392587cbfebaca8338328 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 7 Oct 2021 19:00:15 +0200 Subject: [PATCH] stages/prompt: fix sub_text not allowing blank Signed-off-by: Jens Langhammer --- authentik/stages/prompt/stage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/stages/prompt/stage.py b/authentik/stages/prompt/stage.py index 4bdf21c2d..5a84c0996 100644 --- a/authentik/stages/prompt/stage.py +++ b/authentik/stages/prompt/stage.py @@ -35,7 +35,7 @@ class StagePromptSerializer(PassiveSerializer): required = BooleanField() placeholder = CharField(allow_blank=True) order = IntegerField() - sub_text = CharField() + sub_text = CharField(allow_blank=True) class PromptChallenge(Challenge):