add password argument to reset-password admin cmd

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
admin@dimensionproject.net 2024-12-18 20:46:01 -05:00 committed by strawberry
parent 60a952508e
commit 802395bdb7
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

View file

@ -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