From: Remi Gacogne Date: Thu, 8 Apr 2021 16:20:46 +0000 (+0200) Subject: dnsdist: Clarify that setWebserverConfig() wants a hashed password X-Git-Tag: dnsdist-1.7.0-alpha1~12^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96dc94de3b6bfeea615f0f1ece8a15e2ad8e5c26;p=thirdparty%2Fpdns.git dnsdist: Clarify that setWebserverConfig() wants a hashed password --- diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index 404f727256..79d019f1da 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -946,7 +946,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck) if (password) { auto holder = make_unique(std::string(*password)); if (!holder->wasHashed() && holder->isHashingAvailable()) { - warnlog("Passing a plain-text password to 'webserver()' is deprecated, please use 'setWebserverConfig()' instead."); + warnlog("Passing a plain-text password to 'webserver()' is deprecated, please use 'setWebserverConfig()' with a hashed password instead."); } setWebserverPassword(std::move(holder));