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>2018-11-30 00:31:54 +0300
committerGitHub <noreply@github.com>2018-11-30 00:31:54 +0300
commit414230d05a03dc703ad5c6263d2499c46bdecde7 (patch)
tree544aa75eaaa7a070f0011320954cbae8ae4d76ca /plugins/PrivacyManager
parent1d3388c1cd3dd03743576d670118a65e9cd879cb (diff)
When changing password or email address, require to type old password (#13683)
Diffstat (limited to 'plugins/PrivacyManager')
-rw-r--r--plugins/PrivacyManager/PrivacyManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PrivacyManager/PrivacyManager.php b/plugins/PrivacyManager/PrivacyManager.php
index c289c5e0d8..73d12fa84e 100644
--- a/plugins/PrivacyManager/PrivacyManager.php
+++ b/plugins/PrivacyManager/PrivacyManager.php
@@ -628,7 +628,7 @@ class PrivacyManager extends Plugin
private function shouldRenderFooterLinks(SystemSettings $settings)
{
- if (Piwik::getCurrentUserLogin() == 'anonymous') {
+ if (Piwik::isUserIsAnonymous()) {
return true;
}