Remove debug output in ApiUserCommand::Run

This commit is contained in:
Gunnar Beutner 2018-02-15 15:49:23 +01:00 committed by Jean Flach
parent ed1dd36f09
commit 492b590a29
1 changed files with 0 additions and 1 deletions

View 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;