Merge pull request #533 from niciz/patch-1

Update PasswordExpireService.php
This commit is contained in:
Lorenzo Milesi
2023-12-18 17:40:39 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -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;
} }
} }