mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Two-factor UI config and status display (#13012)
* two-factor UI config and status display additions * force test re-run * removal of blade foreach via keyBy * remove where clause against all() * attempt where filtering with keyBy * use @config and getPref in blade * another forgotten @config changed Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
This commit is contained in:
@@ -54,7 +54,7 @@ class UserController extends Controller
|
||||
$this->authorize('manage', User::class);
|
||||
|
||||
return view('user.index', [
|
||||
'users' => User::orderBy('username')->get(),
|
||||
'users' => User::with('preferences')->orderBy('username')->get(),
|
||||
'multiauth' => User::query()->distinct('auth_type')->count('auth_type') > 1,
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user