allow import aliases for domains that have ownership_verified

This commit is contained in:
Son 2021-10-02 19:18:24 +02:00
parent 9acfda0fba
commit 4638155bbc
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def import_from_csv(batch_import: BatchImport, user: User, lines):
if (
not custom_domain
or not custom_domain.verified
or not custom_domain.ownership_verified
or custom_domain.user_id != user.id
):
LOG.d("domain %s can't be used %s", alias_domain, user)