rem: res.debug(data.password) res.debug(("helm2000" + user.salt).md5()); res.debug(user.hash); 
context: User.login = function(data) {   var user = User.getByName(data.name);   if (!user) {      throw Error(gettext("Unfortunately, your login failed. Maybe a typo?"));   }   var digest = data.digest;   // Calculate digest for JavaScript-disabled browsers   if (!digest) {      digest = ((data.password + user.salt).md5() + session.data.token).md5();   }   res.debug(data.password)   res.debug(("helm2000" + user.salt).md5());   res.debug(user.hash);   // Check if login is correct   if (digest !== user.getDigest(session.data.token)) {      throw Error(gettext("Unfortunately, your login failed. Maybe a typo?"))   }   if (data.remember) {      // Set long running cookies for automatic login      res.setCookie("avUsr", user.name, 365);      var ip = req.data.http_remotehost.clip(getProperty("cookieLevel", "4"),             "", "\\.");      res.setCookie("avPw", (user.hash + ip).md5(), 365);      }   user.touch();   session.login(user);   return user;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/6e28d59eebd1ae098121be8d4b53baf4137a0411/User.js/buggy/code/User/User.js