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:
authorThomas Steur <tsteur@users.noreply.github.com>2016-02-12 16:19:10 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2016-02-12 16:19:10 +0300
commitc5ef423d677668e66d780d4af9490a2f4a6aca63 (patch)
tree35f355e0d8b58fabf7c667bbd4ed0e51c131f0d1 /plugins/UsersManager/Controller.php
parente61124cc1a633d944f97985953163e8e47c217d6 (diff)
Fix changing password in usersmanager can result in an error
It might show an error, a user then has to reload and log in with the new password.
Diffstat (limited to 'plugins/UsersManager/Controller.php')
-rw-r--r--plugins/UsersManager/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UsersManager/Controller.php b/plugins/UsersManager/Controller.php
index 16ae4c04e7..b0bb0a88f0 100644
--- a/plugins/UsersManager/Controller.php
+++ b/plugins/UsersManager/Controller.php
@@ -459,7 +459,7 @@ class Controller extends ControllerAdmin
$sessionInitializer = new SessionInitializer();
$auth = StaticContainer::get('Piwik\Auth');
$auth->setLogin($userLogin);
- $auth->setPassword($password);
+ $auth->setPassword($newPassword);
$sessionInitializer->initSession($auth, $rememberMe = false);
}
}