Fix 1st step login on Default symbol

This commit is contained in:
Mikołaj Pich 2019-11-14 20:14:18 +01:00
parent 4f93e36822
commit 8ba1e5f495
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA

View file

@ -12,8 +12,8 @@ router.get("/powiatwulkanowy(/)?", (req, res) => {
});
// GET login page
router.get("/powiatwulkanowy/Account/LogOn", (req, res) => {
res.render("login-form", {title: "Logowanie (powiatwulkanowy)"});
router.get("/:symbol/Account/LogOn", (req, res) => {
res.render("login-form", {title: "Logowanie (" + req.param("symbol") + ")"});
});
// POST login