Selaa lähdekoodia

Update development cookie

Lee Morgan 3 viikkoa sitten
vanhempi
sitoutus
902ebae979
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/logic/create_cookie.rs

+ 1 - 1
src/logic/create_cookie.rs

@@ -13,7 +13,7 @@ pub fn create_cookie(name: String, value: String) -> Cookie<'static> {
         Cookie::build(name, value)
             .path("/")
             .http_only(true)
-            .same_site(SameSite::Lax)
+            .same_site(SameSite::None)
             .secure(true)
             .max_age(Duration::days(90))
             .finish()