mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
add password argument to reset-password admin cmd
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
60a952508e
commit
802395bdb7
2 files changed
+8
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user