mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-05 05:33:36 +00:00
Do some code cleanup courtesy of Mago.
This commit is contained in:
@@ -74,7 +74,7 @@ class UserRepository implements UserRepositoryInterface
|
||||
return true;
|
||||
}
|
||||
|
||||
public function changePassword(User $user, string $password): bool
|
||||
public function changePassword(User $user, #[\SensitiveParameter] string $password): bool
|
||||
{
|
||||
$user->password = bcrypt($password);
|
||||
$user->save();
|
||||
|
||||
Reference in New Issue
Block a user