diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2018-08-28 04:28:10 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2018-08-28 04:28:10 +0300 |
commit | c16d18ec91abe5970bad2094ca50e3d3b412422f (patch) | |
tree | 2a7a5e4dfc4e959f870120b218196d0d2ce9443e | |
parent | b90affac92455466f23bfe98d5f1448d8551f26d (diff) |
Login form sometimes submits to CoreHome so must be more lenient in check for form_rememberme. (#13333)
-rw-r--r-- | plugins/Login/Login.php | 2 |
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'); } /** |