diff --git a/src/libs/models/resetToken.js b/src/libs/models/resetToken.js
index db5842f33c8009f9e79cdda19f22a3a57d9e9004..8ea994b87dd17c77f17886ef7d4798582425ee60 100644
--- a/src/libs/models/resetToken.js
+++ b/src/libs/models/resetToken.js
@@ -23,10 +23,11 @@ let ResetToken = new Schema({
     createdAt: {
         type: Date,
         required: true,
-        default: Date.now,
-        expires: 86400 //Seconds in a Day
+        default: Date.now
     }
-});
+}, {timestamps: true});
+
+ResetToken.index({createdAt: 1},{expireAfterSeconds: 86400}); //Expire After a Day
 
 ResetToken.methods.createResetToken = function (done) {
     let resetToken = this;