mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-29 02:30:29 +00:00
fix: recaptcha race condition (#1176)
This commit is contained in:
parent
c746c1931d
commit
ac3673e111
1 changed files with 4 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue