mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Remove debug output in ApiUserCommand::Run
This commit is contained in:
parent
f4403daef8
commit
6e3347b5bf
@ -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…
x
Reference in New Issue
Block a user