diff --git a/CHANGELOG.md b/CHANGELOG.md index f3c3fe0..98ec898 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Enh #387: Added Persian translation (hadi-aj) - Fix #384: Delete flash messages after consuming (cgsmith) - Enh: Added SK translations (snickom) + - Fix: allow password_changed_at to be saved when reseting password (p4blojf) ## 1.5.1 April 5, 2020 - Fix #370: Extending view fix (effsoft) diff --git a/src/User/Service/ResetPasswordService.php b/src/User/Service/ResetPasswordService.php index 603ef19..93ca756 100644 --- a/src/User/Service/ResetPasswordService.php +++ b/src/User/Service/ResetPasswordService.php @@ -31,6 +31,6 @@ class ResetPasswordService implements ServiceInterface public function run() { $this->model->password = $this->password; - return (bool)$this->model->save(false, ['password_hash']); + return (bool)$this->model->save(false, ['password_hash','password_changed_at']); } }