title: How to reset / change password in Node.js with Passport.js?
body: <p>I use Passport.js in Node.js to create a login system. Everything is ok, but I do not know how to reset user password when they forget their password or they want to change it. </p>
  
  <p>User model in MongoDB</p>
  
  <pre><code>var UserSchema = new Schema({
      email: String,
      username: String,
      provider: String,
      hashed_password: String,
      salt: String,
  });
  </code></pre>