diff options
author | Lucas Azevedo <lhs_azevedo@hotmail.com> | 2023-08-23 20:15:42 -0300 |
---|---|---|
committer | Lucas Azevedo <lhs_azevedo@hotmail.com> | 2023-08-23 20:56:17 -0300 |
commit | eed32112c504d6333232a1d77e8007f2bdfa40b7 (patch) | |
tree | a9c37c226eb1ff0467d81ae160370fb2b3591440 /core/register_command.php | |
parent | b11532ce56c8bcfe41dc1cf63db2edc43c9693dc (diff) | |
download | nextcloud-server-eed32112c504d6333232a1d77e8007f2bdfa40b7.tar.gz nextcloud-server-eed32112c504d6333232a1d77e8007f2bdfa40b7.zip |
feat: Add user:auth-tokens command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 1 |
1 files changed, 1 insertions, 0 deletions
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())); |