diff options
author | Andreas Fischer <bantu@owncloud.com> | 2014-05-29 14:43:27 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2014-05-29 14:43:27 +0200 |
commit | 9fba8221a6760b67b507067e5ea4ca9341c77241 (patch) | |
tree | 48dca1f485399034f0549bcde1e16a8214f2eee1 /core/register_command.php | |
parent | c0f02be50a293c15007eea5a055dc2cd055561fc (diff) | |
parent | 5754b0b9e70824786878b847abb6b728ca0414bb (diff) | |
download | nextcloud-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.php | 1 |
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()); |