From 6767ff9483c6db8458e6cb8296855552dac52221 Mon Sep 17 00:00:00 2001 From: Francesco Filicetti Date: Tue, 15 Oct 2024 16:32:46 +0200 Subject: [PATCH] fix: reset email message --- uniticket/accounts/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uniticket/accounts/views.py b/uniticket/accounts/views.py index 4dc0daea..5041cd6f 100644 --- a/uniticket/accounts/views.py +++ b/uniticket/accounts/views.py @@ -47,7 +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_list = [MSG_HEADER.format(hostname=settings.HOSTNAME), body, MSG_FOOTER] msg_body = f'{MSG_HEADER}{body}{MSG_FOOTER}' result = send_mail( subject=_("Conferma email"),