From ef8b26db13b38a7b5fac84f42418d1351b9850e2 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 31 May 2021 18:24:20 -0400 Subject: [PATCH] Fix typo in migrations for authenticator_webauthn (#950) --- .../migrations/0002_default_setup_flow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/authentik/stages/authenticator_webauthn/migrations/0002_default_setup_flow.py b/authentik/stages/authenticator_webauthn/migrations/0002_default_setup_flow.py index bdb88d01b..294850fc8 100644 --- a/authentik/stages/authenticator_webauthn/migrations/0002_default_setup_flow.py +++ b/authentik/stages/authenticator_webauthn/migrations/0002_default_setup_flow.py @@ -18,16 +18,16 @@ def create_default_setup_flow(apps: Apps, schema_editor: BaseDatabaseSchemaEdito db_alias = schema_editor.connection.alias flow, _ = Flow.objects.using(db_alias).update_or_create( - slug="default-authenticator-webuahtn-setup", + slug="default-authenticator-webauthn-setup", designation=FlowDesignation.STAGE_CONFIGURATION, defaults={ - "name": "default-authenticator-webuahtn-setup", + "name": "default-authenticator-webauthn-setup", "title": "Setup WebAuthn", }, ) stage, _ = AuthenticateWebAuthnStage.objects.using(db_alias).update_or_create( - name="default-authenticator-webuahtn-setup" + name="default-authenticator-webauthn-setup" ) FlowStageBinding.objects.using(db_alias).update_or_create(