diff --git a/src/admin/user/commands.rs b/src/admin/user/commands.rs index 803fbcf26..1cbbf8564 100644 --- a/src/admin/user/commands.rs +++ b/src/admin/user/commands.rs @@ -242,7 +242,11 @@ pub(super) async fn deactivate( } #[admin_command] -pub(super) async fn reset_password(&self, username: String) -> Result { +pub(super) async fn reset_password( + &self, + username: String, + password: Option, +) -> Result { let user_id = parse_local_user_id(self.services, &username)?; if user_id == self.services.globals.server_user { @@ -252,7 +256,7 @@ pub(super) async fn reset_password(&self, username: String) -> Result, }, /// - Deactivate a user