From 8be863b50be9793b308d1af49075a57f2f74d041 Mon Sep 17 00:00:00 2001 From: maver Date: Sun, 23 Apr 2023 18:11:28 +0200 Subject: [PATCH] Warn user when no whitelist or auth method is chosen And the server is publicly available --- server.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server.js b/server.js index afb5a89cf..4ccadf8a9 100644 --- a/server.js +++ b/server.js @@ -2398,6 +2398,10 @@ const setupTasks = async function () { if (autorun) open(autorunUrl.toString()); console.log('SillyTavern is listening on: ' + tavernUrl); + if (listen && + !config.whitelistMode && + !config.basicAuthMode) + console.log('Your SillyTavern is currently open to the public. To increase security, consider enabling whitelisting or basic authentication.') if (fs.existsSync('public/characters/update.txt') && !is_colab) { convertStage1();