Fixe un bug dans l'envoi de mail
This commit is contained in:
parent
3d0863fe73
commit
f275b1bbed
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ def send_mail(election, mail_form):
|
|||
body=mail_form.cleaned_data["message"].format(
|
||||
full_name=v.full_name,
|
||||
election_url=url,
|
||||
username=v.get_username,
|
||||
username=v.get_username(),
|
||||
password=password,
|
||||
),
|
||||
to=[v.email],
|
||||
|
|
Loading…
Reference in a new issue