mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 08:11:24 +01:00
enable unneeded_field_pattern lint
This commit is contained in:
parent
2b6a933538
commit
da842c6499
3 changed files with 3 additions and 5 deletions
|
|
@ -51,8 +51,7 @@ pub(crate) async fn login_route(body: Ruma<login::v3::Request>) -> Result<login:
|
|||
identifier,
|
||||
password,
|
||||
user,
|
||||
address: _,
|
||||
medium: _,
|
||||
..
|
||||
}) => {
|
||||
let user_id = if let Some(UserIdentifier::UserIdOrLocalpart(user_id)) = identifier {
|
||||
UserId::parse_with_server_name(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue