1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-02-08 21:06:07 +01:00

set max-age default value

This commit is contained in:
bugong 2018-06-23 16:31:00 +08:00
parent ac93ee7cdb
commit 0e2a4a97fd

View File

@ -83,7 +83,7 @@ impl RedisSessionBackend {
path: "/".to_owned(), path: "/".to_owned(),
domain: None, domain: None,
secure: false, secure: false,
max_age: None, max_age: Some(Duration::days(7)),
same_site: None, same_site: None,
})) }))
} }