mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 23:30:36 +01:00
closes #3510 increase email confirm reset to 24 hours
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user