Skip to content
Snippets Groups Projects
Commit 9d9f360b authored by Thomas Müller's avatar Thomas Müller
Browse files

Load authentication apps to get users from all backends - fixes #7019

parent 3d88b10f
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ class Scan extends Command {
protected function execute(InputInterface $input, OutputInterface $output) {
if ($input->getOption('all')) {
\OC_App::loadApps('authentication');
$users = $this->userManager->search('');
} else {
$users = $input->getArgument('user_id');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment