diff options
author | Lucas Azevedo <lhs_azevedo@hotmail.com> | 2023-08-23 20:16:08 -0300 |
---|---|---|
committer | Lucas Azevedo <lhs_azevedo@hotmail.com> | 2023-08-23 20:56:52 -0300 |
commit | 651044ce178fffcbe12ef124c27c37322a829d73 (patch) | |
tree | 727fd346c739dd168ba8176ce1c89b9f87ebc031 /core/register_command.php | |
parent | eed32112c504d6333232a1d77e8007f2bdfa40b7 (diff) | |
download | nextcloud-server-651044ce178fffcbe12ef124c27c37322a829d73.tar.gz nextcloud-server-651044ce178fffcbe12ef124c27c37322a829d73.zip |
feat: Add user:delete-auth-token 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 c82c076c207..cfd1a6d2aea 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -194,6 +194,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $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\User\DeleteAuthToken(\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())); |