From 4ffc29781dd5f55f53deb5ede577071fdde1c8d4 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Sun, 6 Jun 2021 19:27:46 -0400 Subject: [PATCH] Remove references to oldpass param --- lib/CLI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CLI.php b/lib/CLI.php index 38614a6..847ffc9 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":