Error: Error setting TTL index on collection : sessions
at /Users/weston/git/hackathon-starter/node_modules/connect-mongo/lib/connect-mongo.js:161:23
at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1404:28
at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1542:30
at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:159:22
at commandHandler (/Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:678:48)
at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1806:9
* dstroot-reset: (27 commits)
Added comments to User model on instance methods and mongoose middleware.
Updated login template
Add success flash notification on successful password reset
Forgot password token changed to hex instead of base64 to avoid having slashes in the url
Merged first and second waterfall steps into one, added var secrets = require('../config/secrets');, and mongoose query now returns a user object instead of an array
Converted reset controller from eventemitter to async.waterfall.
Added callback to async.waterfall for error handling via express middleware
Renamed forgot password link
Updated reset password template
Cleaned up and refactored reset password template
Updated schema's default values for password token and expires fields
Update flash message on successful forgot password request
Update contributing section
Update POST /forgot description.
Refactor Forgot controller
Converted workflow/eventemitter code to async.waterfall
Update error flash message, redirect to /forgot if no reset token is found or if it has expired
Updated expiration of password token to 1hr, updated flash message when email is sent with password recovery instructions.
Removed user _id from reset route. Use only token value. It's random enough that you don't need to include user id as well.
Updated email template text, removed token salting, changed token to base64 (24bit)
...