FIX allow password_changed_at to be saved (#433)
This commit is contained in:
@ -6,6 +6,7 @@
|
|||||||
- Enh #387: Added Persian translation (hadi-aj)
|
- Enh #387: Added Persian translation (hadi-aj)
|
||||||
- Fix #384: Delete flash messages after consuming (cgsmith)
|
- Fix #384: Delete flash messages after consuming (cgsmith)
|
||||||
- Enh: Added SK translations (snickom)
|
- Enh: Added SK translations (snickom)
|
||||||
|
- Fix: allow password_changed_at to be saved when reseting password (p4blojf)
|
||||||
|
|
||||||
## 1.5.1 April 5, 2020
|
## 1.5.1 April 5, 2020
|
||||||
- Fix #370: Extending view fix (effsoft)
|
- Fix #370: Extending view fix (effsoft)
|
||||||
|
|||||||
@ -31,6 +31,6 @@ class ResetPasswordService implements ServiceInterface
|
|||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
$this->model->password = $this->password;
|
$this->model->password = $this->password;
|
||||||
return (bool)$this->model->save(false, ['password_hash']);
|
return (bool)$this->model->save(false, ['password_hash','password_changed_at']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user