mirror of https://github.com/Icinga/icinga2.git
Remove debug output in ApiUserCommand::Run
This commit is contained in:
parent
ed1dd36f09
commit
492b590a29
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue