diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-11-30 00:31:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-30 00:31:54 +0300 |
commit | 414230d05a03dc703ad5c6263d2499c46bdecde7 (patch) | |
tree | 544aa75eaaa7a070f0011320954cbae8ae4d76ca /plugins/PrivacyManager | |
parent | 1d3388c1cd3dd03743576d670118a65e9cd879cb (diff) |
When changing password or email address, require to type old password (#13683)
Diffstat (limited to 'plugins/PrivacyManager')
-rw-r--r-- | plugins/PrivacyManager/PrivacyManager.php | 2 |
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; } |