From fd5b2298e586034680f00cdce678cf9d4f3e1313 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 9 May 2020 23:31:35 +0200 Subject: [PATCH] flows: fix unittests and migrations --- passbook/flows/migrations/0002_default_flows.py | 4 +--- passbook/root/settings.py | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/passbook/flows/migrations/0002_default_flows.py b/passbook/flows/migrations/0002_default_flows.py index 556cfaa3c..d42b8ded6 100644 --- a/passbook/flows/migrations/0002_default_flows.py +++ b/passbook/flows/migrations/0002_default_flows.py @@ -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" ) diff --git a/passbook/root/settings.py b/passbook/root/settings.py index d7edbfb05..30ff8bbf8 100644 --- a/passbook/root/settings.py +++ b/passbook/root/settings.py @@ -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",