From: Gunnar Beutner Date: Thu, 15 Feb 2018 14:49:23 +0000 (+0100) Subject: Remove debug output in ApiUserCommand::Run X-Git-Tag: v2.9.0~155^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e3347b5bf2deaaa3a778efebbe65a97db886743;p=icinga2 Remove debug output in ApiUserCommand::Run --- diff --git a/lib/cli/apiusercommand.cpp b/lib/cli/apiusercommand.cpp index fc1ae6bc3..6eb5c3bf3 100644 --- a/lib/cli/apiusercommand.cpp +++ b/lib/cli/apiusercommand.cpp @@ -71,7 +71,6 @@ int ApiUserCommand::Run(const boost::program_options::variables_map& vm, const s passwd = vm["passwd"].as(); salt = vm.count("salt") ? String(vm["salt"].as()) : RandomString(8); - std::cout << salt << '\n'; if (salt.FindFirstOf('$') != String::NPos) { Log(LogCritical, "cli", "Salt (--salt) may not contain '$'"); return 1;