protected function authenticated(Request $request, Authenticatable $user)
    {
        if (Spark::supportsTwoFactorAuth() && Spark::twoFactorProvider()->isEnabled($user)) {
            return $this->logoutAndRedirectToTokenScreen($request, $user);
        }

        return redirect()->intended($this->redirectPath());
    }
protected function authenticated(Request $request, Authenticatable $user)
    {
        if (Spark::supportsTwoFactorAuth() && Spark::twoFactorProvider()->isEnabled($user)) {
            return $this->logoutAndRedirectToTokenScreen($request, $user);
        }

        return redirect()->intended($this->redirectPath());
    }
protected function authenticated ( Request $ request , Authenticatable $ user ) { if ( Spark :: supportsTwoFactorAuth ( ) && Spark :: twoFactorProvider ( ) -> isEnabled ( $ user ) ) { return $ this -> logoutAndRedirectToTokenScreen ( $ request , $ user ) ; } return redirect ( ) -> intended ( $ this -> redirectPath ( ) ) ; }
Send the post-authentication response.

@param  \Illuminate\Http\Request  $request
@param  \Illuminate\Contracts\Auth\Authenticatable  $user
@return \Illuminate\Http\Response
Send the post - authentication response .