mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-17 07:12:12 +11:00
forgot sumting
This commit is contained in:
parent
ae85446b21
commit
6fa65dbb0b
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -328,7 +328,7 @@ app.post("/register", async function (req, res) {
|
|||
});
|
||||
} else {
|
||||
if (postUser(name, password)) {
|
||||
successes.push({ msg: "User Registered Please Log In" });
|
||||
req.session.successes.push({ msg: "User Registered Please Log In" });
|
||||
res.redirect("/login");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue