diff options
author | Lucas Azevedo <lhs_azevedo@hotmail.com> | 2023-08-24 11:42:30 -0300 |
---|---|---|
committer | Lucas Azevedo <lhs_azevedo@hotmail.com> | 2023-08-24 11:42:30 -0300 |
commit | 5af683d2c4d0883ae9038c33078cbb792a0974e7 (patch) | |
tree | 1ddff2c9db59d8ccf11fba55b7f15e918ee52d4a /core/register_command.php | |
parent | f7bf468e22e74be7e00d3ffa2356ce4212f12760 (diff) | |
download | nextcloud-server-5af683d2c4d0883ae9038c33078cbb792a0974e7.tar.gz nextcloud-server-5af683d2c4d0883ae9038c33078cbb792a0974e7.zip |
Namespace user auth token commands
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 6 |
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())); |