mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 22:48:18 +00:00
Code cleaning stuff.
This commit is contained in:
@@ -178,7 +178,7 @@ class UserController extends Controller
|
||||
$data = $request->getUserData();
|
||||
|
||||
// update password
|
||||
if (\strlen($data['password']) > 0) {
|
||||
if ('' !== $data['password']) {
|
||||
$repository->changePassword($user, $data['password']);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user