This commit is contained in:
Surya Paolo
2023-12-21 10:58:15 +01:00
parent d00c7eccc8
commit 428a5ca0e9

View File

@@ -110,7 +110,7 @@ router.post('/', async (req, res) => {
if (!tools.isAlphaNumericAndSpecialCharacter(body.username) ||
body.email.length < 6 ||
body.username.length < 6 || body.password.length < 6) {
body.username.length < 5 || body.password.length < 5) {
await tools.snooze(5000);
console.log('Username non valido in Registrazione: ' + body.username);
res.status(400).