1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-02-02 10:59:03 +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(),
domain: None,
secure: false,
max_age: None,
max_age: Some(Duration::days(7)),
same_site: None,
}))
}