diff --git a/canaille/core/templates/mails/compromised_password_check_failure.html b/canaille/core/templates/mails/compromised_password_check_failure.html
index a7a1707b..138ff25b 100644
--- a/canaille/core/templates/mails/compromised_password_check_failure.html
+++ b/canaille/core/templates/mails/compromised_password_check_failure.html
@@ -54,7 +54,7 @@
- {% trans %} Reset {{ user_name }}'s password {% endtrans %}
+ {% trans %} Reset {{ user_name }}'s password {% endtrans %}
|
diff --git a/canaille/core/templates/mails/compromised_password_check_failure.txt b/canaille/core/templates/mails/compromised_password_check_failure.txt
index ca0fad65..0cfc64d8 100644
--- a/canaille/core/templates/mails/compromised_password_check_failure.txt
+++ b/canaille/core/templates/mails/compromised_password_check_failure.txt
@@ -1,13 +1,13 @@
# {% trans %}Compromised password check failure{% endtrans %}
-{% trans %}Our services were unable to verify if the http://127.0.0.1:5000/profile/{{ user_name }}/settings's password is compromised.{% endtrans %}
+{% trans %}Our services were unable to verify if the {{ site_url }}/profile/{{ user_name }}/settings's password is compromised.{% endtrans %}
{% trans %}You have to check manually if the new password of the user {{ user_name }} is compromised.{% endtrans %}
{% trans %}Follow this steps : {% endtrans %}
{% trans %}1. click on the link above "Check if password is compromised".{% endtrans %}
{% trans %}2. in the page that will open, search the following hashed password in the page : {{ hashed_password }}{% endtrans %}
{% trans %}3. if the password is in the list :{% endtrans %}
-{% trans %}3.1. open this link http://127.0.0.1:5000/profile/{{ user_name }}/settings and reset user's password.{% endtrans %}
+{% trans %}3.1. open this link {{ site_url }}/profile/{{ user_name }}/settings and reset user's password.{% endtrans %}
{% trans %}3.2. send an email to the user to explain the situation : {{ user_email }}.{% endtrans %}
{% trans %}Check if password is compromised{% endtrans %}: {{ check_password_url }}
diff --git a/canaille/translations/messages.pot b/canaille/translations/messages.pot
index 6a54341f..36cc5930 100644
--- a/canaille/translations/messages.pot
+++ b/canaille/translations/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-11-20 23:42+0100\n"
+"POT-Creation-Date: 2024-11-26 13:31+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -41,15 +41,15 @@ msgstr ""
msgid "Field cannot be longer than {maximum_password_length} characters."
msgstr ""
-#: canaille/app/forms.py:117
+#: canaille/app/forms.py:120
msgid "This password appears on public compromission databases and is not secure."
msgstr ""
-#: canaille/app/forms.py:281
+#: canaille/app/forms.py:285
msgid "The page number is not valid"
msgstr ""
-#: canaille/app/forms.py:309
+#: canaille/app/forms.py:313
msgid "Not a valid datetime value."
msgstr ""
@@ -1238,15 +1238,14 @@ msgstr ""
#, python-format
msgid ""
"Our services were unable to verify if the "
-"http://127.0.0.1:5000/profile/%(user_name)s/settings's password is "
-"compromised."
+"%(site_url)s/profile/%(user_name)s/settings's password is compromised."
msgstr ""
#: canaille/core/templates/mails/compromised_password_check_failure.txt:10
#, python-format
msgid ""
-"3.1. open this link http://127.0.0.1:5000/profile/%(user_name)s/settings "
-"and reset user's password."
+"3.1. open this link %(site_url)s/profile/%(user_name)s/settings and reset"
+" user's password."
msgstr ""
#: canaille/core/templates/mails/compromised_password_check_failure.txt:11