modif
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user