flows: fix unittests and migrations
This commit is contained in:
parent
caeaf8d5a9
commit
fd5b2298e5
|
@ -12,9 +12,7 @@ def create_default_flow(apps: Apps, schema_editor: BaseDatabaseSchemaEditor):
|
|||
Flow = apps.get_model("passbook_flows", "Flow")
|
||||
FlowStageBinding = apps.get_model("passbook_flows", "FlowStageBinding")
|
||||
PasswordStage = apps.get_model("passbook_stages_password", "PasswordStage")
|
||||
LoginStage = apps.get_model(
|
||||
"passbook_stages_login", "LoginStage"
|
||||
)
|
||||
LoginStage = apps.get_model("passbook_stages_login", "LoginStage")
|
||||
IdentificationStage = apps.get_model(
|
||||
"passbook_stages_identification", "IdentificationStage"
|
||||
)
|
||||
|
|
|
@ -96,6 +96,7 @@ INSTALLED_APPS = [
|
|||
"passbook.providers.oidc.apps.PassbookProviderOIDCConfig",
|
||||
"passbook.providers.saml.apps.PassbookProviderSAMLConfig",
|
||||
"passbook.providers.samlv2.apps.PassbookProviderSAMLv2Config",
|
||||
"passbook.stages.login.apps.PassbookStageLoginConfig",
|
||||
"passbook.stages.identification.apps.PassbookStageIdentificationConfig",
|
||||
"passbook.stages.otp.apps.PassbookStageOTPConfig",
|
||||
"passbook.stages.captcha.apps.PassbookStageCaptchaConfig",
|
||||
|
|
Reference in New Issue