cargo fmt

This commit is contained in:
Timo Kösters 2023-06-08 20:51:34 +02:00
parent 1ea27c4f97
commit faa9208a3e
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB

View file

@ -108,7 +108,7 @@ pub async fn login_route(body: Ruma<login::v3::Request>) -> Result<login::v3::Re
if !body.from_appservice { if !body.from_appservice {
return Err(Error::BadRequest( return Err(Error::BadRequest(
ErrorKind::Forbidden, ErrorKind::Forbidden,
"Forbidden login type." "Forbidden login type.",
)); ));
}; };
let username = if let UserIdentifier::UserIdOrLocalpart(user_id) = identifier { let username = if let UserIdentifier::UserIdOrLocalpart(user_id) = identifier {