From c05d6b96a242427fbd918cc64695941ad0b1e61e Mon Sep 17 00:00:00 2001 From: Aaron Carson Date: Sun, 29 Jan 2023 23:02:12 +0000 Subject: [PATCH] stages/prompt: set UUID to be a string (#4563) --- authentik/stages/prompt/migrations/0009_prompt_name.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/stages/prompt/migrations/0009_prompt_name.py b/authentik/stages/prompt/migrations/0009_prompt_name.py index d6572e81a..0f4aae503 100644 --- a/authentik/stages/prompt/migrations/0009_prompt_name.py +++ b/authentik/stages/prompt/migrations/0009_prompt_name.py @@ -16,7 +16,7 @@ def set_generated_name(apps: Apps, schema_editor: BaseDatabaseSchemaEditor): if stage: name += "_" + stage.name else: - name += "_" + uuid4() + name += "_" + str(uuid4()) prompt.name = name prompt.save()