Set automatic_creation flag when alias is created with catch-all feature

This commit is contained in:
Son NK 2019-12-30 18:48:25 +01:00
parent 174ee174f9
commit 28a0f9c616
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ class MailHandler:
email=alias,
user_id=custom_domain.user_id,
custom_domain_id=custom_domain.id,
automatic_creation=True,
)
db.session.commit()
else: