mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-18 07:32:14 +11:00
fixing registration
This commit is contained in:
parent
6a835685f8
commit
7a1ebfc118
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -321,7 +321,7 @@ app.post("/register", async function (req, res) {
|
||||||
if (password.length < 6) {
|
if (password.length < 6) {
|
||||||
errors.push({ msg: "Password must be at least 6 characters" });
|
errors.push({ msg: "Password must be at least 6 characters" });
|
||||||
}
|
}
|
||||||
if (errors[0]) {
|
if (errors) {
|
||||||
res.render("register", {
|
res.render("register", {
|
||||||
errors: errors,
|
errors: errors,
|
||||||
marketplace: process.env.MARKETPLACE,
|
marketplace: process.env.MARKETPLACE,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue