diff --git a/server.js b/server.js index 61ead966d..61c940c09 100644 --- a/server.js +++ b/server.js @@ -941,19 +941,6 @@ function logSecurityAlert(message) { process.exit(1); } -/** - * Prints a warning message - * @param {string} message The warning message to print - * @returns {void} - */ -function logSecurityWarning(message) { - if (basicAuthMode || enableWhitelist) return; // safe! - console.error(color.yellow(message)); - if (getConfigValue('securityOverride', false)) { - console.warn(color.red('Security has been overridden. If it\'s not a trusted network, change the settings.')); - } -} - /** * Handles the case where the server failed to start on one or both protocols. * @param {boolean} v6Failed If the server failed to start on IPv6