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>2019-04-11 01:56:26 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-04-11 01:56:25 +0300
commit65b5523adf92c686f1448e858fa428b57d68a674 (patch)
tree156b9a0cb76399580ca2d9cd38764e8ea714be50 /plugins/TwoFactorAuth
parentbeff637e0ec74154b81ca18de50f7c9d30092e8e (diff)
require TwoFA to be verified before updating code base (#14322)
* require TwoFA to be verified before updating code base fix https://github.com/matomo-org/matomo/issues/14251 * Remove part ofcomment
Diffstat (limited to 'plugins/TwoFactorAuth')
-rw-r--r--plugins/TwoFactorAuth/TwoFactorAuth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TwoFactorAuth/TwoFactorAuth.php b/plugins/TwoFactorAuth/TwoFactorAuth.php
index 06091294f4..4f550df53d 100644
--- a/plugins/TwoFactorAuth/TwoFactorAuth.php
+++ b/plugins/TwoFactorAuth/TwoFactorAuth.php
@@ -172,7 +172,7 @@ class TwoFactorAuth extends \Piwik\Plugin
return false;
}
- if ($module === 'CoreUpdater') {
+ if ($module === 'CoreUpdater' && $action !== 'newVersionAvailable' && $action !== 'oneClickUpdate') {
return false;
}