diff --git a/src/webui/webapplication.cpp b/src/webui/webapplication.cpp index ba24b9049..93d73e0f8 100644 --- a/src/webui/webapplication.cpp +++ b/src/webui/webapplication.cpp @@ -683,6 +683,8 @@ void WebApplication::sessionStart() QByteArray cookieRawForm = cookie.toRawForm(); if (m_isCSRFProtectionEnabled) cookieRawForm.append("; SameSite=Strict"); + else if (cookie.isSecure()) + cookieRawForm.append("; SameSite=None"); setHeader({Http::HEADER_SET_COOKIE, QString::fromLatin1(cookieRawForm)}); }