[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2-4' - loleaflet/src
Muhammet Kara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 11 08:57:38 UTC 2020
loleaflet/src/control/Toolbar.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit af22ce14c3ee656f3ee246425acefe73238f563e
Author: Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Thu Jun 11 01:35:15 2020 +0300
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Jun 11 10:22:28 2020 +0200
Relax the cookie for the Welcome message
Change-Id: Ia58b6a0125ece8eb4c3a6ea14c03c7c33dfc655a
diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index fdeec58af..1ce90a3ba 100644
--- a/loleaflet/src/control/Toolbar.js
+++ b/loleaflet/src/control/Toolbar.js
@@ -411,7 +411,7 @@ L.Map.include({
var cookiePath = '/loleaflet';
if (window.socketProxy)
cookiePath = window.host + window.serviceRoot + cookiePath;
- WSDVerCookie += '; max-age=31536000; SameSite=Strict; path=' + cookiePath;
+ WSDVerCookie += '; max-age=31536000; SameSite=Lax; path=' + cookiePath;
document.cookie = WSDVerCookie;
}
map.focus();
@@ -445,7 +445,7 @@ L.Map.include({
var cookiePath = '/loleaflet';
if (window.socketProxy)
cookiePath = window.host + window.serviceRoot + cookiePath;
- var welcomeDisabledCookie = 'WSDWelcomeDisabled=true; max-age=86400; SameSite=Strict; path=' + cookiePath;
+ var welcomeDisabledCookie = 'WSDWelcomeDisabled=true; max-age=86400; SameSite=Lax; path=' + cookiePath;
document.cookie = welcomeDisabledCookie;
if (calledFromMenu)
More information about the Libreoffice-commits
mailing list