Added complete password reset function

This commit is contained in:
Dan Stroot
2014-02-17 10:00:43 -08:00
parent 64598cf20a
commit 1faf279877
8 changed files with 496 additions and 3 deletions

View File

@ -18,7 +18,10 @@ var userSchema = new mongoose.Schema({
location: { type: String, default: '' },
website: { type: String, default: '' },
picture: { type: String, default: '' }
}
},
resetPasswordToken: { type: String, default: '' },
resetPasswordExpires: { type: Date }
});
/**