fix: Formatting

This commit is contained in:
Ginger
2026-06-08 09:33:06 -04:00
parent 707587aa15
commit 809a9429dc
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -96,7 +96,10 @@ pub(crate) async fn change_password_route(
&body.auth,
vec![AuthFlow::new(vec![AuthType::Password])],
Box::default(),
Some(UiaaInitiator::new(identity.expect_sender_user()?, identity.sender_device())),
Some(UiaaInitiator::new(
identity.expect_sender_user()?,
identity.sender_device(),
)),
)
.await?
} else {
+2 -1
View File
@@ -123,7 +123,8 @@ pub(crate) async fn add_3pid_route(
let _ = services
.uiaa
.authenticate_password(
&body.auth, body.identity.expect_sender_user()?,
&body.auth,
body.identity.expect_sender_user()?,
body.identity.sender_device(),
None,
)