From 96dc94de3b6bfeea615f0f1ece8a15e2ad8e5c26 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 8 Apr 2021 18:20:46 +0200 Subject: [PATCH] dnsdist: Clarify that setWebserverConfig() wants a hashed password --- pdns/dnsdist-lua.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.47.2