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