Fix legacy captcha embed missing quotes

This commit is contained in:
Ben 2020-05-07 20:24:27 +01:00
parent 9e94a0882f
commit 4edf898c00

View File

@ -90,7 +90,7 @@
<script src="https://www.google.com/recaptcha/api.js?render={{ .Env.WEB_RECAPTCHA_SITE }}"></script>
<script type="text/javascript">
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);
});
}