Fix if mail is missing
This commit is contained in:
+1
-1
@@ -952,7 +952,7 @@ def participer(request):
|
|||||||
# Prepare Message
|
# Prepare Message
|
||||||
message = Message(subject="[JM2L] Mon inscription au site web JM2L",
|
message = Message(subject="[JM2L] Mon inscription au site web JM2L",
|
||||||
sender="contact@jm2l.linux-azur.org",
|
sender="contact@jm2l.linux-azur.org",
|
||||||
recipients=[NewUser.mail],
|
recipients=[NewUser.mail or TmpUsr.mail],
|
||||||
body=mail_plain, html=mail_html)
|
body=mail_plain, html=mail_html)
|
||||||
|
|
||||||
message.add_bcc("spam@style-python.fr")
|
message.add_bcc("spam@style-python.fr")
|
||||||
|
|||||||
Reference in New Issue
Block a user