rem: var membership = new Membership(user); 
add: var membership = new Membership(user, Membership.SUBSCRIBER); 
context: Members.prototype.register_action = function() {   if (req.postParams.register) {            try {         var title = res.handlers.site.title;         var user = User.register(req.postParams);         var membership = new Membership(user);         this.add(membership);         membership.notify(req.action, user.email,                gettext('Welcome to "{0}"!', title));         var url = session.data.referrer || this._parent.href();         delete session.data.referrer;         res.message = gettext('Welcome to "{0}", {1}. Have fun!',               title, user.name);         res.redirect(url);      } catch (ex) {         app.log(ex);         res.message = ex;      }   }   session.data.token = User.getSalt();   res.data.action = this.href(req.action);   res.data.title = gettext("Register");   res.data.body = this.renderSkinAsString("Members#register");   this._parent.renderSkin("page");   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/3d0fae4302b944a61894fbad9cb3eb06f72984a3/Members.js/buggy/code/Members/Members.js