fix shell-select for customer ftp-accounts if shell is enabled; fix typo in UserCommand

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-10-06 14:23:56 +02:00
parent 13c53b074c
commit a37beef18e
4 changed files with 13 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ final class UserCommand extends CliCommand
$this->setDescription('Various user actions');
$this->addArgument('user', InputArgument::REQUIRED, 'Loginname of the target user')
->addArgument('admin', InputArgument::OPTIONAL, 'Loginname of the executing admin/reseller user', 'admin');
$this->addOption('unlock', 'u', InputOption::VALUE_NONE, 'Unock user after too many failed login attempts')
$this->addOption('unlock', 'u', InputOption::VALUE_NONE, 'Unlock user after too many failed login attempts')
->addOption('change-passwd', 'p', InputOption::VALUE_NONE, 'Set new password for given user')
->addOption('show-info', 's', InputOption::VALUE_NONE, 'Output information details of given user');
}