mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-27 02:37:42 +02:00
MSRV 1.68 (#328)
This commit is contained in:
@ -102,7 +102,7 @@ impl FromRequest for BearerAuth {
|
||||
let bearer = req
|
||||
.app_data::<Config>()
|
||||
.map(|config| config.0.clone())
|
||||
.unwrap_or_else(Default::default);
|
||||
.unwrap_or_default();
|
||||
|
||||
AuthenticationError::new(bearer)
|
||||
}),
|
||||
|
Reference in New Issue
Block a user