From 0680d8b565e893bb10e4476e95daec8e236f87a8 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Mon, 21 Jul 2025 13:08:36 +0200 Subject: [PATCH] Remove the spurious password field from the request body --- crates/matrix-synapse/src/modern.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/matrix-synapse/src/modern.rs b/crates/matrix-synapse/src/modern.rs index 454afbf9f..c2cf0c5c4 100644 --- a/crates/matrix-synapse/src/modern.rs +++ b/crates/matrix-synapse/src/modern.rs @@ -551,12 +551,10 @@ impl HomeserverConnection for SynapseConnection { #[derive(Serialize)] struct Request { localpart: String, - password: String, // Required by the API but not used in this context } let body = Request { localpart: localpart.to_owned(), - password: String::new(), // Empty password since we're using admin auth }; let response = self