app/Http/Controllers/Settings/SecurityController.php
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