Skip to content

Commit

Permalink
bui backend cookie expiry is 400 days
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Jan 29, 2024
1 parent 88f2726 commit 88bcf1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions braid/braid-run/src/mainbrain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ async fn launch_braid_http_backend(
token_config,
persistent_secret,
cookie_name: "braid-bui-session",
cookie_expires: Some(std::time::Duration::from_secs(60 * 60 * 24 * 400)), // 400 days
..Default::default()
};

Expand Down
1 change: 1 addition & 0 deletions strand-cam/src/strand-cam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3533,6 +3533,7 @@ where
token_config,
persistent_secret,
cookie_name: "strand-cam-session",
cookie_expires: Some(std::time::Duration::from_secs(60 * 60 * 24 * 400)), // 400 days
..Default::default()
};

Expand Down

0 comments on commit 88bcf1b

Please sign in to comment.