[Libreoffice-commits] online.git: loleaflet/src
Muhammet Kara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jun 15 13:25:52 UTC 2020
loleaflet/src/control/Toolbar.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2a20ea216a60d1ed970dd538925f84997fc6c7f0
Author: Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Thu Jun 11 01:35:15 2020 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Jun 15 15:25:33 2020 +0200
Relax the cookie for the Welcome message
Change-Id: Ia58b6a0125ece8eb4c3a6ea14c03c7c33dfc655a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96351
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index 2f6f28ad6..89c191294 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