mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-23 12:43:14 -05:00
Bad login fix, #3268
This commit is contained in:
parent
529fa04094
commit
e7f51c7658
@ -7752,7 +7752,6 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
||||
} else if (Array.isArray(parent.config.settings.maxinvalidlogin.exclude)) {
|
||||
for (var i in parent.config.settings.maxinvalidlogin.exclude) { if (require('ipcheck').match(ip, parent.config.settings.maxinvalidlogin.exclude[i])) return; }
|
||||
}
|
||||
return;
|
||||
}
|
||||
var splitip = ip.split('.');
|
||||
if (splitip.length == 4) { ip = (splitip[0] + '.' + splitip[1] + '.' + splitip[2] + '.*'); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user