mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 23:28:20 +00:00
Code cleanup
This commit is contained in:
@@ -62,7 +62,6 @@ class UpdateController extends Controller
|
||||
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
* @throws \Psr\Container\NotFoundExceptionInterface
|
||||
* @throws \Psr\Container\ContainerExceptionInterface
|
||||
* @throws \Illuminate\Container\EntryNotFoundException
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
|
||||
@@ -174,7 +174,7 @@ class UserController extends Controller
|
||||
$data = $request->getUserData();
|
||||
|
||||
// update password
|
||||
if (strlen($data['password']) > 0) {
|
||||
if (\strlen($data['password']) > 0) {
|
||||
$repository->changePassword($user, $data['password']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user