mirror of
https://github.com/solero/wand.git
synced 2024-11-09 23:18:21 +00:00
Fix legacy captcha embed missing quotes
This commit is contained in:
parent
9e94a0882f
commit
4edf898c00
@ -90,7 +90,7 @@
|
|||||||
<script src="https://www.google.com/recaptcha/api.js?render={{ .Env.WEB_RECAPTCHA_SITE }}"></script>
|
<script src="https://www.google.com/recaptcha/api.js?render={{ .Env.WEB_RECAPTCHA_SITE }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function grecaptchaSubmit(){
|
function grecaptchaSubmit(){
|
||||||
grecaptcha.execute({{ .Env.WEB_RECAPTCHA_SITE }}, { action: 'login' }).then(function (token) {
|
grecaptcha.execute("{{ .Env.WEB_RECAPTCHA_SITE }}", { action: "login" }).then(function (token) {
|
||||||
document.getElementById("game").finishedCaptcha(token);
|
document.getElementById("game").finishedCaptcha(token);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user