mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-09-26 14:08:02 +00:00
fix: Formatting
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user