From c3a73c26840841660b722e9094e47497aff3c851 Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Tue, 12 Apr 2022 10:54:11 +0200 Subject: Adds a note to password change form that other sessions will be terminated (#19038) * Adds a note to password change form that other sessions will be terminated * updates expected UI files --- plugins/UsersManager/lang/en.json | 1 + plugins/UsersManager/templates/userSecurity.twig | 4 ++++ .../tests/UI/expected-screenshots/UserSettings_load_security.png | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/UsersManager/lang/en.json b/plugins/UsersManager/lang/en.json index 7b1b6596cf..2b2e81bbaa 100644 --- a/plugins/UsersManager/lang/en.json +++ b/plugins/UsersManager/lang/en.json @@ -182,6 +182,7 @@ "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).", + "PasswordChangeTerminatesOtherSessions": "When you change your password, any other active session of this account will be logged out.", "NewsletterSignupTitle": "Newsletter Signup", "NewsletterSignupMessage": "Subscribe to our newsletter to receive regular information about Matomo. You can unsubscribe from it any time. This service uses MadMimi. Learn more about it on %1$sMatomo's Privacy Policy page%2$s.", "NewsletterSignupFailureMessage": "Whoops, something went wrong. We weren't able to sign you up for the newsletter.", diff --git a/plugins/UsersManager/templates/userSecurity.twig b/plugins/UsersManager/templates/userSecurity.twig index 58c03b571e..713cec3036 100644 --- a/plugins/UsersManager/templates/userSecurity.twig +++ b/plugins/UsersManager/templates/userSecurity.twig @@ -31,6 +31,10 @@ value="" inline-help="{{ 'UsersManager_TypeYourCurrentPassword'|translate|e('html_attr') }}"> +
+ {{ 'UsersManager_PasswordChangeTerminatesOtherSessions'|translate }} +
+ diff --git a/plugins/UsersManager/tests/UI/expected-screenshots/UserSettings_load_security.png b/plugins/UsersManager/tests/UI/expected-screenshots/UserSettings_load_security.png index e2144fedbf..378ab83e16 100644 --- a/plugins/UsersManager/tests/UI/expected-screenshots/UserSettings_load_security.png +++ b/plugins/UsersManager/tests/UI/expected-screenshots/UserSettings_load_security.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:916feec907a637c256e6ad2978f1ec1680f287426c449535a3a3d2c6f57dacce -size 115399 +oid sha256:bcf6e92490d2f5dfaaf8a648976233acfe4df3c3db20a24db8f3a60da4d7f97f +size 123681 -- cgit v1.2.3