Make /account/ redirect to /login

This commit is contained in:
calzoneman 2014-02-05 18:08:20 -06:00
parent 767e90a757
commit 07feb91cc6

View file

@ -689,5 +689,8 @@ module.exports = {
app.get("/account/passwordreset", handlePasswordResetPage);
app.post("/account/passwordreset", handlePasswordReset);
app.get("/account/passwordrecover/:hash", handlePasswordRecover);
app.get("/account", function (req, res) {
res.redirect("/login");
});
}
};