closes #3510 increase email confirm reset to 24 hours

This commit is contained in:
barisusakli
2015-08-28 13:09:21 -04:00
parent a0cd4b49f5
commit f4bf82a349

View File

@@ -58,7 +58,7 @@ var async = require('async'),
}, next);
},
function(next) {
db.expireAt('confirm:' + confirm_code, Math.floor(Date.now() / 1000 + 60 * 60 * 2), next);
db.expireAt('confirm:' + confirm_code, Math.floor(Date.now() / 1000 + 60 * 60 * 24), next);
},
function(next) {
user.getUserField(uid, 'username', next);