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:
authorStefan Giehl <stefan@matomo.org>2022-04-12 11:54:11 +0300
committerGitHub <noreply@github.com>2022-04-12 11:54:11 +0300
commitc3a73c26840841660b722e9094e47497aff3c851 (patch)
tree84351f18a2ed0b10d14f5820c07a10fbc9fb8302
parentb24d41ff0d6a863dc9c7ba8f0e4ba27d206ca092 (diff)
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
-rw-r--r--plugins/UsersManager/lang/en.json1
-rw-r--r--plugins/UsersManager/templates/userSecurity.twig4
-rw-r--r--plugins/UsersManager/tests/UI/expected-screenshots/UserSettings_load_security.png4
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') }}">
</div>
+ <div class="alert alert-info">
+ {{ 'UsersManager_PasswordChangeTerminatesOtherSessions'|translate }}
+ </div>
+
<input type="submit"
value="{{ 'General_Save'|translate|e('html_attr') }}"
class="btn"/>
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