From eed32112c504d6333232a1d77e8007f2bdfa40b7 Mon Sep 17 00:00:00 2001 From: Lucas Azevedo Date: Wed, 23 Aug 2023 20:15:42 -0300 Subject: feat: Add user:auth-tokens command Signed-off-by: Lucas Azevedo --- core/register_command.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/register_command.php') diff --git a/core/register_command.php b/core/register_command.php index c9b6cc99901..c82c076c207 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -193,6 +193,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $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(new OC\Core\Command\User\AuthTokens(\OC::$server->get(\OCP\IUserManager::class), \OC::$server->get(\OC\Authentication\Token\IProvider::class))); $application->add(new OC\Core\Command\Group\Add(\OC::$server->getGroupManager())); $application->add(new OC\Core\Command\Group\Delete(\OC::$server->getGroupManager())); -- cgit v1.2.3