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