Skip to content
Snippets Groups Projects
Commit 8981929e authored by Andreas Fischer's avatar Andreas Fischer
Browse files

Document type of user project.

parent 52e7bf96
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ class ResetPassword extends Command {
protected function execute(InputInterface $input, OutputInterface $output) {
$username = $input->getArgument('user');
/** @var $user \OC\User\User */
$user = $this->userManager->get($username);
if (is_null($user)) {
$output->writeln("<error>There is no user called " . $username . "</error>");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment