Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2020-06-30 02:04:10 +0300
committerGitHub <noreply@github.com>2020-06-30 02:04:10 +0300
commite3b97f5575d6f52653cb435e838ffb40e8886590 (patch)
treeef7abf21069e8f244cde5acb92bb78fa90b6daa6 /plugins
parentd7dced0928c7457f4e14fb571d897ac927b95134 (diff)
Show different message in password confirmation email to reduce confusion (#16131)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/UsersManager/lang/en.json1
-rw-r--r--plugins/UsersManager/templates/_userInfoChangedEmail.twig2
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/UsersManager/lang/en.json b/plugins/UsersManager/lang/en.json
index 8130e45bc7..a56d1a8ff0 100644
--- a/plugins/UsersManager/lang/en.json
+++ b/plugins/UsersManager/lang/en.json
@@ -177,6 +177,7 @@
"EmailChangedEmail1": "The email address associated with your account has been changed to %1$s",
"EmailChangedEmail2": "This change was initiated from the following device: %1$s (IP address = %2$s).",
"IfThisWasYouIgnoreIfNot": "If this was you, feel free to ignore this email. If this was not you, please login, correct your email address, change your password and contact your Matomo administrator.",
+ "IfThisWasYouPasswordChange": "If this was you, feel free to ignore this email. If this was not you, please contact your Matomo administrator immediately, as your account might have been compromised!",
"PasswordChangeNotificationSubject": "Your Matomo account's password has just been changed",
"PasswordChangedEmail": "Your password has just been changed. The change was initiated from the following device: %1$s (IP address = %2$s).",
"NewsletterSignupTitle": "Newsletter Signup",
diff --git a/plugins/UsersManager/templates/_userInfoChangedEmail.twig b/plugins/UsersManager/templates/_userInfoChangedEmail.twig
index 73d0b15c77..1759bc06c7 100644
--- a/plugins/UsersManager/templates/_userInfoChangedEmail.twig
+++ b/plugins/UsersManager/templates/_userInfoChangedEmail.twig
@@ -7,7 +7,7 @@
{% elseif type == 'password' %}
<p>{{ 'UsersManager_PasswordChangedEmail'|translate(deviceDescription, ipAddress) }}</p>
-<p>{{ 'UsersManager_IfThisWasYouIgnoreIfNot'|translate }}</p>
+<p>{{ 'UsersManager_IfThisWasYouPasswordChange'|translate }}</p>
{% endif %}
<p>{{ 'General_ThankYouForUsingMatomo'|translate }}!