FIX allow password_changed_at to be saved (#433)

This commit is contained in:
p4blojf
2021-09-13 22:35:41 +02:00
committed by GitHub
parent d584584c24
commit 078ee0d956
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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']);
}
}