Skip to content
Snippets Groups Projects
Commit f81ee94c authored by Andreas Fischer's avatar Andreas Fischer
Browse files

Move resetpassword into user: command space.

parent 8981929e
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* See the COPYING-README file. * See the COPYING-README file.
*/ */
namespace OC\Core\Command; namespace OC\Core\Command\User;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
...@@ -25,7 +25,7 @@ class ResetPassword extends Command { ...@@ -25,7 +25,7 @@ class ResetPassword extends Command {
protected function configure() { protected function configure() {
$this $this
->setName('resetpassword') ->setName('user:resetpassword')
->setDescription('Resets the password of the named user') ->setDescription('Resets the password of the named user')
->addArgument( ->addArgument(
'user', 'user',
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
$application->add(new OC\Core\Command\Status); $application->add(new OC\Core\Command\Status);
$application->add(new OC\Core\Command\Db\GenerateChangeScript()); $application->add(new OC\Core\Command\Db\GenerateChangeScript());
$application->add(new OC\Core\Command\Upgrade()); $application->add(new OC\Core\Command\Upgrade());
$application->add(new OC\Core\Command\ResetPassword(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\Maintenance\SingleUser()); $application->add(new OC\Core\Command\Maintenance\SingleUser());
$application->add(new OC\Core\Command\App\Disable()); $application->add(new OC\Core\Command\App\Disable());
$application->add(new OC\Core\Command\App\Enable()); $application->add(new OC\Core\Command\App\Enable());
$application->add(new OC\Core\Command\App\ListApps()); $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\Maintenance\Repair(new \OC\Repair()));
$application->add(new OC\Core\Command\User\Report()); $application->add(new OC\Core\Command\User\Report());
$application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment