From 2353f0e36f2c3d11f5e426b07b081c86c3ba73ec Mon Sep 17 00:00:00 2001 From: Adnan0703 Date: Thu, 8 Dec 2016 11:17:28 +0500 Subject: [PATCH] Update UserToolComponent.php behavior expects new password in 'password' not in 'new_password' --- src/Controller/Component/UserToolComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/Component/UserToolComponent.php b/src/Controller/Component/UserToolComponent.php index be3b817..ac974e5 100644 --- a/src/Controller/Component/UserToolComponent.php +++ b/src/Controller/Component/UserToolComponent.php @@ -734,7 +734,7 @@ public function changePassword($options = []) { $entity->accessible([ 'id', 'old_password', - 'new_password', + 'password', 'confirm_password' ], true);