Cookie debug 2

This commit is contained in:
Sascha Leib
2025-11-05 18:31:14 +01:00
parent 9b2115f1b7
commit 815e0e16ba

View File

@@ -180,7 +180,7 @@ const $BMCaptcha = {
const hash = document._botmon.seed || ''
// set the cookie:
document.cookie = "DWConfirm=" + encodeURIComponent(hash) + '; path=/; hostOnly; session; sameSite=strict;'
document.cookie = "DWConfirm=" + encodeURIComponent(hash) + '; path=/; session;'
+ (document.location.protocol === 'https:' ? ' secure;' : '');
} catch (err) {