Revert unwanted previous change

This commit is contained in:
Bubka 2020-11-17 21:39:02 +01:00
parent 03981bc12b
commit d9b48e8806

View File

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