possible fix for #1256

v1.18.x
barisusakli 11 years ago
parent 2b2e83992e
commit 1f2d5abbb7

@ -149,7 +149,7 @@ Controllers.search = function(req, res, next) {
};
Controllers.reset = function(req, res, next) {
res.render('reset', {
res.render(req.params.code ? 'reset_code' : 'reset', {
reset_code: req.params.code ? req.params.code : null
});
};

Loading…
Cancel
Save