From 97886ba72ba8bf09d9d397b8a53d43cbf6764d61 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 7 Oct 2009 20:14:11 +0200 Subject: Added a warning to accountserver when using the default inter-server password. --- src/account-server/main-account.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp index 4aa171bb..9d2e9710 100644 --- a/src/account-server/main-account.cpp +++ b/src/account-server/main-account.cpp @@ -146,6 +146,13 @@ static void initialize() LOG_INFO("Using config file: " << configPath); LOG_INFO("Using log file: " << logPath); + // check inter-server password + if (Configuration::getValue("net_password", "") == "") + { + LOG_WARN("SECURITY WARNING: No net_password set in " << configPath << + " - set one ASAP or this server WILL get h4x0rd!!"); + } + // Open database try { storage = new DALStorage; -- cgit v1.2.3-60-g2f50