Load authentication apps to get users from all backends - fixes #7019
This commit is contained in:
parent
3d88b10f20
commit
9d9f360b77
|
@ -58,6 +58,7 @@ class Scan extends Command {
|
||||||
|
|
||||||
protected function execute(InputInterface $input, OutputInterface $output) {
|
protected function execute(InputInterface $input, OutputInterface $output) {
|
||||||
if ($input->getOption('all')) {
|
if ($input->getOption('all')) {
|
||||||
|
\OC_App::loadApps('authentication');
|
||||||
$users = $this->userManager->search('');
|
$users = $this->userManager->search('');
|
||||||
} else {
|
} else {
|
||||||
$users = $input->getArgument('user_id');
|
$users = $input->getArgument('user_id');
|
||||||
|
|
Loading…
Reference in New Issue