set lang cookie with strict SameSite property

This commit is contained in:
El RIDO 2024-04-21 11:36:31 +02:00
parent 15481290fb
commit 658383e6d1
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
5 changed files with 6 additions and 6 deletions

View file

@ -3855,7 +3855,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
*/
function setLanguage(event)
{
document.cookie = 'lang=' + $(event.target).data('lang') + ';secure';
document.cookie = 'lang=' + $(event.target).data('lang') + '; SameSite=Strict; Secure';
UiHelper.reloadHome();
event.preventDefault();
}