Fix typo in migrations for authenticator_webauthn (#950)
This commit is contained in:
parent
ebfa7c8dce
commit
ef8b26db13
|
@ -18,16 +18,16 @@ def create_default_setup_flow(apps: Apps, schema_editor: BaseDatabaseSchemaEdito
|
||||||
db_alias = schema_editor.connection.alias
|
db_alias = schema_editor.connection.alias
|
||||||
|
|
||||||
flow, _ = Flow.objects.using(db_alias).update_or_create(
|
flow, _ = Flow.objects.using(db_alias).update_or_create(
|
||||||
slug="default-authenticator-webuahtn-setup",
|
slug="default-authenticator-webauthn-setup",
|
||||||
designation=FlowDesignation.STAGE_CONFIGURATION,
|
designation=FlowDesignation.STAGE_CONFIGURATION,
|
||||||
defaults={
|
defaults={
|
||||||
"name": "default-authenticator-webuahtn-setup",
|
"name": "default-authenticator-webauthn-setup",
|
||||||
"title": "Setup WebAuthn",
|
"title": "Setup WebAuthn",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
stage, _ = AuthenticateWebAuthnStage.objects.using(db_alias).update_or_create(
|
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(
|
FlowStageBinding.objects.using(db_alias).update_or_create(
|
||||||
|
|
Reference in New Issue