diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-07 22:55:50 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-09-07 22:55:50 +0300 |
commit | d6382a8aca1820f65c4f37930f895fa6e13afda0 (patch) | |
tree | d122e0f26ded656e26fab989aeef90039b4f45c9 /plugins | |
parent | f5ce32a7f7feff1e1cf3c5bb234746617700a17b (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.php | 2 |
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; } } |