mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 16:25:17 +00:00
Mailer always enabled
This commit is contained in:
parent
f4d660d5eb
commit
a4a31ca2c6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user