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:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-06-02 18:50:18 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-06-02 18:50:18 +0400
commitbe5dfbc86562b7d2761e6f61a500f1a98bbdee75 (patch)
tree08ac12faf46ea27c4ef209bd5ee485bf66cbdbec /plugins/Login
parenta0b495a11ea36d8df9e2b4b4fea716f402bb7a14 (diff)
fixes #1402 - remove unreachable if{} block; switching to token_auth is a wontfix as token_auth is intended for the API; logme() is a formless login which mirrors the form login, i.e., piwik_auth cookie and server-side session
Diffstat (limited to 'plugins/Login')
-rw-r--r--plugins/Login/Controller.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Login/Controller.php b/plugins/Login/Controller.php
index 800a16f192..02056be0bf 100644
--- a/plugins/Login/Controller.php
+++ b/plugins/Login/Controller.php
@@ -123,11 +123,7 @@ class Piwik_Login_Controller extends Piwik_Controller
$urlToRedirect = Piwik_Common::getRequestVar('url', $currentUrl, 'string');
$urlToRedirect = htmlspecialchars_decode($urlToRedirect);
- $authenticated = $this->authenticateAndRedirect($login, $password, $urlToRedirect);
- if($authenticated === false)
- {
- echo Piwik_Translate('Login_LoginPasswordNotCorrect');
- }
+ $this->authenticateAndRedirect($login, $password, $urlToRedirect);
}
/**