on master help sign in
wrap in object
commita1214e1a989d762b5e498effb2b1cc4353c6bb7c authoriko <ilyakooo0@gmail.com> dateMon 1 Aug 2022, 16:35 (4 years ago) parentefbc46f
1 file changed+1−1
hcaptcha.html+1−1
hcaptcha.html+1−1
@@ -14,7 +14,7 @@
1414 <script>
1515 function processSuccess(token) {
1616 console.log(token);
17− window.parent.postMessage(token, "*");
17+ window.parent.postMessage({ "hCaptchaToken": token }, "*");
1818 }
1919 </script>
2020 <div class="h-captcha" data-sitekey="bc38c8a2-5311-4e8c-9dfc-49e99f6df417" data-callback="processSuccess"></div>