app/Http/Controllers/Auth/AuthController.php
protected function logoutAndRedirectToTokenScreen(Request $request, Authenticatable $user)
    {
        Auth::logout();

        $request->session()->put('spark:auth:id', $user->id);

        return redirect('login/token');
    }
protected function logoutAndRedirectToTokenScreen(Request $request, Authenticatable $user)
    {
        Auth::logout();

        $request->session()->put('spark:auth:id', $user->id);

        return redirect('login/token');
    }
Generate a redirect response to the two-factor token screen.

@param  \Illuminate\Http\Request  $request
@param  \Illuminate\Contracts\Auth\Authenticatable  $users
@return \Illuminate\Http\Response