You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Upgrade axum to 0.5
This commit is contained in:
@@ -287,9 +287,7 @@ where
|
||||
// If it's missing it is fine
|
||||
TypedHeaderRejectionReason::Missing => None,
|
||||
// If the header could not be parsed, return the error
|
||||
TypedHeaderRejectionReason::Error(_) => {
|
||||
return Err(UserAuthorizationError::InvalidHeader)
|
||||
}
|
||||
_ => return Err(UserAuthorizationError::InvalidHeader),
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user