Fix symbol in login-cert template
This commit is contained in:
parent
285e33c14a
commit
847a95cd09
2 changed files with 3 additions and 2 deletions
|
@ -32,6 +32,7 @@ router.post("/:symbol/Account/LogOn", (req, res) => {
|
|||
|
||||
router.get("/:symbol/FS/LS", (req, res) => {
|
||||
res.render("login-cert", {
|
||||
symbol: req.param("symbol"),
|
||||
cert: fs.readFileSync("public/cert.xml", "utf8"),
|
||||
uonetplusOpiekun: protocol(req) + "://" + req.get('host').replace("cufs.", "uonetplus.")
|
||||
});
|
||||
|
|
|
@ -3,10 +3,10 @@ html
|
|||
head
|
||||
title Working...
|
||||
body
|
||||
form(method="POST" name="hiddenform" action=uonetplusOpiekun + "/powiatwulkanowy/LoginEndpoint.aspx")
|
||||
form(method="POST" name="hiddenform" action=uonetplusOpiekun + "/" + symbol + "/LoginEndpoint.aspx")
|
||||
input(type="hidden" name="wa" value="wsignin1.0")
|
||||
input(type="hidden" name="wresult" value=cert)
|
||||
input(type="hidden" name="wctx" value=uonetplusOpiekun + "/powiatwulkanowy/LoginEndpoint.aspx")
|
||||
input(type="hidden" name="wctx" value=uonetplusOpiekun + "/" + symbol + "/LoginEndpoint.aspx")
|
||||
|
||||
noscript
|
||||
p Script is disabled. Click Submit to continue.
|
||||
|
|
Loading…
Reference in a new issue