flows: fix unittests and migrations

This commit is contained in:
Jens Langhammer 2020-05-09 23:31:35 +02:00
parent caeaf8d5a9
commit fd5b2298e5
2 changed files with 2 additions and 3 deletions

View File

@ -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"
)

View File

@ -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",