loleaflet/src/control/Toolbar.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit af22ce14c3ee656f3ee246425acefe73238f563e
Author:     Muhammet Kara <muhammet.k...@collabora.com>
AuthorDate: Thu Jun 11 01:35:15 2020 +0300
Commit:     Andras Timar <andras.ti...@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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to