Skip to content

Commit

Permalink
Fix next being undefined for getReset call
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavenko committed Feb 24, 2016
1 parent 818461f commit 0c6b796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ exports.getOauthUnlink = function(req, res, next) {
* GET /reset/:token
* Reset Password page.
*/
exports.getReset = function(req, res) {
exports.getReset = function(req, res, next) {
if (req.isAuthenticated()) {
return res.redirect('/');
}
Expand Down

0 comments on commit 0c6b796

Please sign in to comment.