mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-01-31 01:57:35 +00:00
cargo fmt
This commit is contained in:
parent
1ea27c4f97
commit
faa9208a3e
@ -108,7 +108,7 @@ pub async fn login_route(body: Ruma<login::v3::Request>) -> Result<login::v3::Re
|
||||
if !body.from_appservice {
|
||||
return Err(Error::BadRequest(
|
||||
ErrorKind::Forbidden,
|
||||
"Forbidden login type."
|
||||
"Forbidden login type.",
|
||||
));
|
||||
};
|
||||
let username = if let UserIdentifier::UserIdOrLocalpart(user_id) = identifier {
|
||||
|
Loading…
x
Reference in New Issue
Block a user