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 <diosmosis@users.noreply.github.com>2018-08-28 04:28:10 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2018-08-28 04:28:10 +0300
commitc16d18ec91abe5970bad2094ca50e3d3b412422f (patch)
tree2a7a5e4dfc4e959f870120b218196d0d2ce9443e
parentb90affac92455466f23bfe98d5f1448d8551f26d (diff)
Login form sometimes submits to CoreHome so must be more lenient in check for form_rememberme. (#13333)
-rw-r--r--plugins/Login/Login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Login/Login.php b/plugins/Login/Login.php
index 9a88e9f48a..bd0d9ae253 100644
--- a/plugins/Login/Login.php
+++ b/plugins/Login/Login.php
@@ -65,7 +65,7 @@ class Login extends \Piwik\Plugin
{
$module = Common::getRequestVar('module', false);
$action = Common::getRequestVar('action', false);
- return $module == 'Login' && (empty($action) || $action == 'login');
+ return ($module == 'Login' || $module == 'CoreHome') && (empty($action) || $action == 'index' || $action == 'login');
}
/**