Remove the spurious password field from the request body

This commit is contained in:
Quentin Gliech
2025-07-21 13:08:36 +02:00
parent 089229732e
commit 0680d8b565

View File

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