aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/register_command.php b/core/register_command.php
index f6ffe231c8f..2da8e2aa186 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -192,9 +192,9 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\User\Setting(\OC::$server->getUserManager(), \OC::$server->getConfig()));
$application->add(new OC\Core\Command\User\ListCommand(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
$application->add(new OC\Core\Command\User\Info(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
- $application->add(new OC\Core\Command\User\AddAppPassword(\OC::$server->get(\OCP\IUserManager::class), \OC::$server->get(\OC\Authentication\Token\IProvider::class), \OC::$server->get(\OCP\Security\ISecureRandom::class), \OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class)));
- $application->add(\OC::$server->get(\OC\Core\Command\User\AuthTokens::class));
- $application->add(\OC::$server->get(\OC\Core\Command\User\DeleteAuthToken::class));
+ $application->add(\OC::$server->get(\OC\Core\Command\User\AuthTokens\Add::class));
+ $application->add(\OC::$server->get(\OC\Core\Command\User\AuthTokens\ListCommand::class));
+ $application->add(\OC::$server->get(\OC\Core\Command\User\AuthTokens\Delete::class));
$application->add(new OC\Core\Command\Group\Add(\OC::$server->getGroupManager()));
$application->add(new OC\Core\Command\Group\Delete(\OC::$server->getGroupManager()));