mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-22 19:40:14 -04:00
Make session cookie permanent
This commit is contained in:
parent
6421b12e27
commit
53a0515f28
@ -97,6 +97,7 @@ pub async fn handler(
|
|||||||
.domain(domain)
|
.domain(domain)
|
||||||
.secure(true)
|
.secure(true)
|
||||||
.path("/")
|
.path("/")
|
||||||
|
.permanent()
|
||||||
.finish();
|
.finish();
|
||||||
let parsed_cookie = match cookie.to_string().parse() {
|
let parsed_cookie = match cookie.to_string().parse() {
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user