1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +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; return 0;
} else { } else {
return $this->userAddOrSetPassword("passwordSet", $args["<username>"], $args["<password>"], $args["--oldpass"]); return $this->userAddOrSetPassword("passwordSet", $args["<username>"], $args["<password>"]);
} }
// no break // no break
case "user unset-pass": case "user unset-pass":
if ($args['--fever']) { if ($args['--fever']) {
Arsse::$obj->get(Fever::class)->unregister($args["<username>"]); Arsse::$obj->get(Fever::class)->unregister($args["<username>"]);
} else { } else {
Arsse::$user->passwordUnset($args["<username>"], $args["--oldpass"]); Arsse::$user->passwordUnset($args["<username>"]);
} }
return 0; return 0;
case "user remove": case "user remove":