public function disableTwoFactorAuth(Request $request)
    {
        Spark::twoFactorProvider()->delete(Auth::user());

        Auth::user()->save();

        return $this->users->getCurrentUser();
    }
public function disableTwoFactorAuth(Request $request)
    {
        Spark::twoFactorProvider()->delete(Auth::user());

        Auth::user()->save();

        return $this->users->getCurrentUser();
    }
public function disableTwoFactorAuth ( Request $ request ) { Spark :: twoFactorProvider ( ) -> delete ( Auth :: user ( ) ) ; Auth :: user ( ) -> save ( ) ; return $ this -> users -> getCurrentUser ( ) ; }
Disable two-factor authentication for the user.

@param  \Illuminate\Http\Request  $request
@return \Illuminate\Http\Response
Disable two - factor authentication for the user .