mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +08:00
only print out plaintext when NOT_SEND_EMAIL
This commit is contained in:
parent
8323dfbfe0
commit
e9a58b89ad
1 changed files with 1 additions and 2 deletions
|
@ -104,11 +104,10 @@ def send_test_email_alias(email, name):
|
|||
def send_email(to_email, subject, plaintext, html):
|
||||
if NOT_SEND_EMAIL:
|
||||
LOG.d(
|
||||
"send email with subject %s to %s, plaintext: %s, html:%s",
|
||||
"send email with subject %s to %s, plaintext: %s",
|
||||
subject,
|
||||
to_email,
|
||||
plaintext,
|
||||
html,
|
||||
)
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue