summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-05-29 14:43:27 +0200
committerAndreas Fischer <bantu@owncloud.com>2014-05-29 14:43:27 +0200
commit9fba8221a6760b67b507067e5ea4ca9341c77241 (patch)
tree48dca1f485399034f0549bcde1e16a8214f2eee1 /core/register_command.php
parentc0f02be50a293c15007eea5a055dc2cd055561fc (diff)
parent5754b0b9e70824786878b847abb6b728ca0414bb (diff)
downloadnextcloud-server-9fba8221a6760b67b507067e5ea4ca9341c77241.tar.gz
nextcloud-server-9fba8221a6760b67b507067e5ea4ca9341c77241.zip
Merge pull request #8554 from owncloud/add_resetadminpass_command
Add a resetadminpass command to console * owncloud/add_resetadminpass_command: Move resetpassword into user: command space. Document type of user project. Receive \OC\User\Manager as a constructor dependency. Use userManager, color output, return 1 on error Add doc, check return-value, fix spacing, require interactive Back to the future Make ResetAdminPass to ResetPassword Add a resetadminpass command to console - fix #8248
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index e9de76c1444..9ced377bee3 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -18,4 +18,5 @@ $application->add(new OC\Core\Command\App\Enable());
$application->add(new OC\Core\Command\App\ListApps());
$application->add(new OC\Core\Command\Maintenance\Repair(new \OC\Repair()));
$application->add(new OC\Core\Command\User\Report());
+$application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\User\LastSeen());