mirror of
https://github.com/simple-login/app.git
synced 2024-09-22 07:56:01 +08:00
only print out plaintext when NOT_SEND_EMAIL
This commit is contained in:
parent
8323dfbfe0
commit
e9a58b89ad
|
@ -104,11 +104,10 @@ def send_test_email_alias(email, name):
|
||||||
def send_email(to_email, subject, plaintext, html):
|
def send_email(to_email, subject, plaintext, html):
|
||||||
if NOT_SEND_EMAIL:
|
if NOT_SEND_EMAIL:
|
||||||
LOG.d(
|
LOG.d(
|
||||||
"send email with subject %s to %s, plaintext: %s, html:%s",
|
"send email with subject %s to %s, plaintext: %s",
|
||||||
subject,
|
subject,
|
||||||
to_email,
|
to_email,
|
||||||
plaintext,
|
plaintext,
|
||||||
html,
|
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue