Skip to content

Commit

Permalink
fix: reset email message
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Oct 15, 2024
1 parent 2072491 commit 2ef3ec4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uniticket/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def changeData(request):
encrypted_data = encrypt_to_jwe(token)
url = f'{base_url}?token={encrypted_data}'
body=_("Conferma la tua email cliccando qui {}").format(url)
msg_body_list = [MSG_HEADER, body, MSG_FOOTER]
msg_body = f'{MSG_HEADER}{body}{MSG_FOOTER}'
msg_body = f'{MSG_HEADER.format(hostname=settings.HOSTNAME)}{body}{MSG_FOOTER}'
result = send_mail(
subject=_("Conferma email"),
message=msg_body,
Expand Down

0 comments on commit 2ef3ec4

Please sign in to comment.