Skip to content

Commit fbcfa25

Browse files
committed
Remove the spurious password field from the request body
1 parent 5a32f00 commit fbcfa25

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/matrix-synapse/src/modern.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,12 +551,10 @@ impl HomeserverConnection for SynapseConnection {
551551
#[derive(Serialize)]
552552
struct Request {
553553
localpart: String,
554-
password: String, // Required by the API but not used in this context
555554
}
556555

557556
let body = Request {
558557
localpart: localpart.to_owned(),
559-
password: String::new(), // Empty password since we're using admin auth
560558
};
561559

562560
let response = self

0 commit comments

Comments
 (0)