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:
parent
ac93ee7cdb
commit
0e2a4a97fd
@ -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,
|
||||
}))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user