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:
authordiosmosis <benaka@piwik.pro>2015-09-07 22:55:50 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-07 22:55:50 +0300
commitd6382a8aca1820f65c4f37930f895fa6e13afda0 (patch)
treed122e0f26ded656e26fab989aeef90039b4f45c9 /plugins
parentf5ce32a7f7feff1e1cf3c5bb234746617700a17b (diff)
Only return invalid indices in bulk tracking if token auth is for a superuser.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/BulkTracking/Tracker/Handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BulkTracking/Tracker/Handler.php b/plugins/BulkTracking/Tracker/Handler.php
index 81b413c76a..0d97a6b5b3 100644
--- a/plugins/BulkTracking/Tracker/Handler.php
+++ b/plugins/BulkTracking/Tracker/Handler.php
@@ -121,6 +121,6 @@ class Handler extends Tracker\Handler
$auth->setPasswordHash(null);
$access = $auth->authenticate();
- return $access->getCode() != AuthResult::FAILURE;
+ return $access->getCode() == AuthResult::SUCCESS_SUPERUSER_AUTH_CODE;
}
}