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:
rhinoau
2021-07-10 03:36:08 +08:00
committed by GitHub
parent 5acece54eb
commit ccb267bb4d
6 changed files with 97 additions and 25 deletions

View File

@@ -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,
]);
}