wantsJson() ? response()->json(['two_factor' => false]) : redirect()->intended(Fortify::redirects('login')); } }