1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-22 08:15:18 +00:00

Mailer always enabled

This commit is contained in:
Lauri Võsandi 2017-05-07 20:49:58 +00:00
parent f4d660d5eb
commit a4a31ca2c6

View File

@ -14,9 +14,6 @@ env = Environment(loader=PackageLoader("certidude", "templates/mail"))
def send(template, to=None, include_admins=True, attachments=(), **context):
from certidude import authority, config
if not config.MAILER_ADDRESS:
# Mailbox disabled, don't send e-mail
return
recipients = ()
if include_admins: