🗝
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/login.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/login.rs b/src/server/login.rs
index f9cee70..8353317 100644
--- a/src/server/login.rs
+++ b/src/server/login.rs
@@ -90,7 +90,7 @@ async fn handle_login_post(
     cookie.set_http_only(true);
     cookie.set_max_age(Duration::from_secs(60 * 60 * 24 * 29).try_into().ok());
     cookie.set_path("/");
-    cookie.set_same_site(SameSite::Strict);
+    cookie.set_same_site(SameSite::None);
     cookie.set_secure(true);
     if let Some(cookie_domain) = cookie_domain {
         cookie.set_domain(cookie_domain);
@@ -198,7 +198,7 @@ async fn handle_invite_post(
     cookie.set_http_only(true);
     cookie.set_max_age(Duration::from_secs(60 * 60 * 24 * 29).try_into().ok());
     cookie.set_path("/");
-    cookie.set_same_site(SameSite::Strict);
+    cookie.set_same_site(SameSite::None);
     cookie.set_secure(true);
     if let Some(cookie_domain) = cookie_domain {
         cookie.set_domain(cookie_domain);