From d9b48e88066d148a1c4468905c7cbd75f41d9684 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Tue, 17 Nov 2020 21:39:02 +0100 Subject: [PATCH] Revert unwanted previous change --- app/Http/Controllers/TwoFAccountController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/TwoFAccountController.php b/app/Http/Controllers/TwoFAccountController.php index a91d7179..bb518013 100644 --- a/app/Http/Controllers/TwoFAccountController.php +++ b/app/Http/Controllers/TwoFAccountController.php @@ -17,7 +17,7 @@ class TwoFAccountController extends Controller */ public function index() { - return response()->json(TwoFAccount::all()); + return response()->json(TwoFAccount::ofGroup(Options::get('activeGroup'))->ordered()->get()->toArray()); }