Source: modules/ResetTwoFactorAuth.js

  1. const LiveEventTwoFactorReset = require("../classes/LiveEventTwoFactorReset");
  2. /**
  3. * ResetTwoFactorAuth - Notifies that the two-factor auth was reset
  4. *
  5. * @returns {Promise<Boolean>} Whether the notice was sent successfully
  6. */
  7. function ResetTwoFactorAuth() {
  8. return this.send("/service/player", new LiveEventTwoFactorReset(this));
  9. }
  10. module.exports = ResetTwoFactorAuth;