Merge pull request #533 from niciz/patch-1
Update PasswordExpireService.php
This commit is contained in:
@ -6,6 +6,7 @@
|
|||||||
- Fix: update Dutch (nl) translations (squio)
|
- Fix: update Dutch (nl) translations (squio)
|
||||||
- Enh: possibility to limit the depth of the recursion when getting user ids from roles (mp1509)
|
- Enh: possibility to limit the depth of the recursion when getting user ids from roles (mp1509)
|
||||||
- Fix: UserSearch avoid fields name conflict if joined with other tables (liviuk2)
|
- Fix: UserSearch avoid fields name conflict if joined with other tables (liviuk2)
|
||||||
|
- Fix: PasswordExpireService return false when user model attribute "password_changed_at" is already set at null.
|
||||||
|
|
||||||
## 1.6.1 March 4th, 2023
|
## 1.6.1 March 4th, 2023
|
||||||
|
|
||||||
|
|||||||
@ -25,8 +25,9 @@ class PasswordExpireService implements ServiceInterface
|
|||||||
|
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
return $this->model->updateAttributes([
|
$this->model->updateAttributes([
|
||||||
'password_changed_at' => null,
|
'password_changed_at' => null,
|
||||||
]);
|
]);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user