mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 19:22:57 +00:00
fix: recaptcha race condition (#1176)
This commit is contained in:
parent
c746c1931d
commit
ac3673e111
@ -41,8 +41,10 @@ export default {
|
|||||||
mounted () {
|
mounted () {
|
||||||
if (!recaptcha) return
|
if (!recaptcha) return
|
||||||
|
|
||||||
window.grecaptcha.render('recaptcha', {
|
window.grecaptcha.ready(function () {
|
||||||
sitekey: recaptchaKey
|
window.grecaptcha.render('recaptcha', {
|
||||||
|
sitekey: recaptchaKey
|
||||||
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user