✨ Captcha gateway provide postMessage for better compability
This commit is contained in:
parent
c7f3c1b2cc
commit
105ec693f8
@ -86,6 +86,7 @@
|
||||
}
|
||||
|
||||
function onSuccess(token) {
|
||||
window.parent.postMessage("captcha_tk=" + token, "*");
|
||||
const redirectUri = getQueryParam("redirect_uri");
|
||||
if (redirectUri) {
|
||||
window.location.href = `${redirectUri}?captcha_tk=${encodeURIComponent(token)}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user