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:
Diffstat (limited to 'plugins/TwoFactorAuth')
-rw-r--r--plugins/TwoFactorAuth/Validator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TwoFactorAuth/Validator.php b/plugins/TwoFactorAuth/Validator.php
index e1260bd0df..77b4bb2714 100644
--- a/plugins/TwoFactorAuth/Validator.php
+++ b/plugins/TwoFactorAuth/Validator.php
@@ -9,7 +9,7 @@
namespace Piwik\Plugins\TwoFactorAuth;
use Piwik\Common;
-use Piwik\Exception\InvalidRequestParameterException;
+use Piwik\Exception\NotYetInstalledException;
use Piwik\Piwik;
use Piwik\Session\SessionFingerprint;
use Exception;
@@ -46,7 +46,7 @@ class Validator
Piwik::checkUserIsNotAnonymous();
if (!SettingsPiwik::isPiwikInstalled()) {
- throw new InvalidRequestParameterException('Matomo is not set up yet');
+ throw new NotYetInstalledException('Matomo is not set up yet');
}
}