Browse Source

Fix if mail is missing

master
piernov 8 years ago
parent
commit
bd6d21d10a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      jm2l/views.py

+ 1
- 1
jm2l/views.py View File

@@ -952,7 +952,7 @@ def participer(request):
# Prepare Message
message = Message(subject="[JM2L] Mon inscription au site web JM2L",
sender="contact@jm2l.linux-azur.org",
recipients=[NewUser.mail],
recipients=[NewUser.mail or TmpUsr.mail],
body=mail_plain, html=mail_html)
message.add_bcc("spam@style-python.fr")


Loading…
Cancel
Save