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:
parent
47af739e47
commit
4ffc29781d
1 changed files with 2 additions and 2 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue