core: remove migration dependency on ldap

This commit is contained in:
Jens Langhammer 2020-09-21 13:21:03 +02:00
parent 8358574484
commit 585afd1bcd
1 changed files with 1 additions and 2 deletions

View File

@ -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 = [