1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Remove references to oldpass param

This commit is contained in:
J. King 2021-06-06 19:27:46 -04:00
parent 47af739e47
commit 4ffc29781d

View file

@ -142,14 +142,14 @@ USAGE_TEXT;
}
return 0;
} else {
return $this->userAddOrSetPassword("passwordSet", $args["<username>"], $args["<password>"], $args["--oldpass"]);
return $this->userAddOrSetPassword("passwordSet", $args["<username>"], $args["<password>"]);
}
// no break
case "user unset-pass":
if ($args['--fever']) {
Arsse::$obj->get(Fever::class)->unregister($args["<username>"]);
} else {
Arsse::$user->passwordUnset($args["<username>"], $args["--oldpass"]);
Arsse::$user->passwordUnset($args["<username>"]);
}
return 0;
case "user remove":