add password argument to reset-password admin cmd
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
60a952508e
commit
802395bdb7
2 changed files with 8 additions and 2 deletions
|
@ -22,6 +22,8 @@ pub(super) enum UserCommand {
|
|||
ResetPassword {
|
||||
/// Username of the user for whom the password should be reset
|
||||
username: String,
|
||||
/// New password for the user, if unspecified one is generated
|
||||
password: Option<String>,
|
||||
},
|
||||
|
||||
/// - Deactivate a user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue