mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added bad login IP address limitation.
This commit is contained in:
parent
be922433e0
commit
8573d45753
14 changed files with 84 additions and 17 deletions
|
@ -223,7 +223,6 @@ module.exports.CreateLetsEncrypt = function (parent) {
|
|||
var somethingIsinFolder = false;
|
||||
try {
|
||||
var filesinFolder = require('fs').readdirSync(obj.runAsProduction ? obj.configPath : obj.configPathStaging);
|
||||
console.log('filesinFolder', filesinFolder);
|
||||
somethingIsinFolder = (filesinFolder.indexOf(obj.runAsProduction ? 'live' : 'staging') != -1);
|
||||
} catch (ex) { console.log(ex); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue