- Cataloghi: pagine, schede, formato
This commit is contained in:
@@ -164,7 +164,7 @@ router.post('/', async (req, res) => {
|
||||
if (lastrec.ipaddr === user.ipaddr) {
|
||||
// Se l'ha fatto troppo ravvicinato
|
||||
if (lastrec.date_reg) {
|
||||
let ris = tools.isdiffSecDateLess(lastrec.date_reg, 5);
|
||||
let ris = tools.isdiffSecDateLess(lastrec.date_reg, 3);
|
||||
if (ris) {
|
||||
const msg = user.ipaddr + ': [' + user.username + '] ' + user.name + ' ' +
|
||||
user.surname;
|
||||
|
||||
Reference in New Issue
Block a user