Fix if mail is missing

This commit is contained in:
piernov
2015-05-19 21:16:52 +02:00
parent 0ea3c05f22
commit bd6d21d10a
+1 -1
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")