Skip to content

Node.js based forum software built for the modern web

closes #3510 increase email confirm reset to 24 hours

barisusaklif4bf82a34992
diff --git a/src/user/email.js b/src/user/email.js
index c5beb6c1e3..c982cb53d5 100644
--- a/src/user/email.js
+++ b/src/user/email.js
@@ -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);