diff --git a/lib/CLI.php b/lib/CLI.php index 38614a63..847ffc90 100644 --- a/lib/CLI.php +++ b/lib/CLI.php @@ -142,14 +142,14 @@ USAGE_TEXT; } return 0; } else { - return $this->userAddOrSetPassword("passwordSet", $args[""], $args[""], $args["--oldpass"]); + return $this->userAddOrSetPassword("passwordSet", $args[""], $args[""]); } // no break case "user unset-pass": if ($args['--fever']) { Arsse::$obj->get(Fever::class)->unregister($args[""]); } else { - Arsse::$user->passwordUnset($args[""], $args["--oldpass"]); + Arsse::$user->passwordUnset($args[""]); } return 0; case "user remove":