diff --git a/frontend/src/views/Login.vue b/frontend/src/views/Login.vue index 5464a053..a3f1df5d 100644 --- a/frontend/src/views/Login.vue +++ b/frontend/src/views/Login.vue @@ -41,8 +41,10 @@ export default { mounted () { if (!recaptcha) return - window.grecaptcha.render('recaptcha', { - sitekey: recaptchaKey + window.grecaptcha.ready(function () { + window.grecaptcha.render('recaptcha', { + sitekey: recaptchaKey + }) }) }, methods: {