Make /account/ redirect to /login
This commit is contained in:
parent
767e90a757
commit
07feb91cc6
|
@ -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");
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue