diff --git a/captcha.js b/captcha.js index bff2b1d..538587a 100644 --- a/captcha.js +++ b/captcha.js @@ -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) {