diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 741a46bfc6..69bc9a174e 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -35,16 +35,7 @@ class UserController extends Controller $confirmAccount = env('MUST_CONFIRM_ACCOUNT', false); // list all users: - $all = $repository->all(); - - // not deleted users: - $users = $all->filter( - function (User $user) { - if (!(intval($user->blocked) === 1 && is_null($user->blocked_code))) { - return $user; - } - } - ); + $users = $repository->all(); // add meta stuff. $users->each( diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index 95c33a467d..02d36c3c92 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -741,4 +741,9 @@ return [ 'tags_group' => 'Tags group transactions together, which makes it possible to store reimbursements (in case you front money for others) and other "balancing acts" where expenses are summed up (the payments on your new TV) or where expenses and deposits are cancelling each other out (buying something with saved money). It\'s all up to you. Using tags the old-fashioned way is of course always possible.', 'tags_start' => 'Create a tag to get started or enter tags when creating new transactions.', + + // administration + 'administration' => 'Administration', + 'user_administration' => 'User administration', + 'list_all_users' => 'All users', ]; diff --git a/resources/views/admin/users/index.twig b/resources/views/admin/users/index.twig index a107389052..b41aec2af4 100644 --- a/resources/views/admin/users/index.twig +++ b/resources/views/admin/users/index.twig @@ -28,23 +28,31 @@ {{ user.created_at.formatLocalized(monthAndDayFormat) }} {{ user.created_at.format('H:i') }} - {% if user.activated %} -