src/Javascript/Mozilla/old_snapshots/sync/modules/identity.js
/**
   * Set the HTTP basic password to use.
   *
   * Changes will not persist unless persistSyncCredentials() is called.
   */
Set the HTTP basic password to use.
Changes will not persist unless persistSyncCredentials() is called.
Set the HTTP basic password to use . Changes will not persist unless persistSyncCredentials () is called .
set basicPassword(value) {
    if (!value) {
      this._log.info("Basic password has no value. Removing.");
      this._basicPassword = null;
      this._basicPasswordUpdated = true;
      this._basicPasswordAllowLookup = false;
      return;
    }
    let username = this.username;
    if (!username) {
      throw new Error("basicPassword cannot be set before username.");
    }
    this._log.info("Basic password being updated.");
    this._basicPassword = Utils.encodeUTF8(value);
    this._basicPasswordUpdated = true;
  }
set basicPassword ( value ) { if ( ! value ) { this . _log . info ( "Basic password has no value. Removing." ) ; this . _basicPassword = null ; this . _basicPasswordUpdated = true ; this . _basicPasswordAllowLookup = false ; return ; } let username = this . username ; if ( ! username ) { throw new Error ( "basicPassword cannot be set before username." ) ; } this . _log . info ( "Basic password being updated." ) ; this . _basicPassword = Utils . encodeUTF8 ( value ) ; this . _basicPasswordUpdated = true ; }
Set the HTTP basic password to use.
Set the HTTP basic password to use .
// Wiping out value.