mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-17 21:12:06 +00:00
Make /account/ redirect to /login
This commit is contained in:
parent
767e90a757
commit
07feb91cc6
1 changed files with 3 additions and 0 deletions
|
|
@ -689,5 +689,8 @@ module.exports = {
|
||||||
app.get("/account/passwordreset", handlePasswordResetPage);
|
app.get("/account/passwordreset", handlePasswordResetPage);
|
||||||
app.post("/account/passwordreset", handlePasswordReset);
|
app.post("/account/passwordreset", handlePasswordReset);
|
||||||
app.get("/account/passwordrecover/:hash", handlePasswordRecover);
|
app.get("/account/passwordrecover/:hash", handlePasswordRecover);
|
||||||
|
app.get("/account", function (req, res) {
|
||||||
|
res.redirect("/login");
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue