Ver código fonte

Fix if mail is missing

master
piernov 9 anos atrás
pai
commit
bd6d21d10a
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      jm2l/views.py

+ 1
- 1
jm2l/views.py Ver arquivo

@@ -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")


Carregando…
Cancelar
Salvar