From 585afd1bcd367303613e44da7f0e6eeb77ec497e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 21 Sep 2020 13:21:03 +0200 Subject: [PATCH] core: remove migration dependency on ldap --- passbook/core/migrations/0003_default_user.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/passbook/core/migrations/0003_default_user.py b/passbook/core/migrations/0003_default_user.py index 41f4f8f57..7265ce87d 100644 --- a/passbook/core/migrations/0003_default_user.py +++ b/passbook/core/migrations/0003_default_user.py @@ -14,7 +14,7 @@ def create_default_user(apps: Apps, schema_editor: BaseDatabaseSchemaEditor): pbadmin, _ = User.objects.using(db_alias).get_or_create( username="pbadmin", email="root@localhost", name="passbook Default Admin" ) - pbadmin.set_password("pbadmin") # noqa # nosec + pbadmin.set_password("pbadmin", signal=False) # noqa # nosec pbadmin.save() @@ -22,7 +22,6 @@ class Migration(migrations.Migration): dependencies = [ ("passbook_core", "0002_auto_20200523_1133"), - ("passbook_sources_ldap", "0007_ldapsource_sync_users_password"), ] operations = [