]> granicus.if.org Git - icinga2/commitdiff
Remove debug output in ApiUserCommand::Run
authorGunnar Beutner <gunnar.beutner@icinga.com>
Thu, 15 Feb 2018 14:49:23 +0000 (15:49 +0100)
committerJean Flach <jean-marcel.flach@icinga.com>
Fri, 23 Feb 2018 12:07:56 +0000 (13:07 +0100)
lib/cli/apiusercommand.cpp

index fc1ae6bc3f709528e69abfe7b88af12315e66eb5..6eb5c3bf32b53ec7f6bb82f558c004a7cd8a7c85 100644 (file)
@@ -71,7 +71,6 @@ int ApiUserCommand::Run(const boost::program_options::variables_map& vm, const s
        passwd = vm["passwd"].as<std::string>();
        salt = vm.count("salt") ? String(vm["salt"].as<std::string>()) : RandomString(8);
 
-       std::cout << salt << '\n';
        if (salt.FindFirstOf('$') != String::NPos) {
                Log(LogCritical, "cli", "Salt (--salt) may not contain '$'");
                return 1;