mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 18:37:41 +02:00
Check code with rustfmt not to introduce format commits (#88)
This commit is contained in:
@ -552,7 +552,11 @@ impl IdentityPolicy for CookieIdentityPolicy {
|
||||
|
||||
fn from_request(&self, req: &mut ServiceRequest) -> Self::Future {
|
||||
ok(self.0.load(req).map(
|
||||
|CookieValue { identity, login_timestamp, .. }| {
|
||||
|CookieValue {
|
||||
identity,
|
||||
login_timestamp,
|
||||
..
|
||||
}| {
|
||||
if self.0.requires_oob_data() {
|
||||
req.extensions_mut()
|
||||
.insert(CookieIdentityExtention { login_timestamp });
|
||||
|
Reference in New Issue
Block a user