mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 09:12:14 +00:00
Fixed reCaptcha for the contact form
This commit is contained in:
@@ -208,11 +208,10 @@ export default {
|
||||
this.isLoading = true
|
||||
|
||||
// Get ReCaptcha token
|
||||
if (config.allowedRecaptcha) {
|
||||
this.register.reCaptcha = await this.$reCaptchaToken('register').then((response) => {
|
||||
return response
|
||||
})
|
||||
}
|
||||
if (this.config.allowedRecaptcha) {
|
||||
this.register.reCaptcha = await this.$reCaptchaToken('register')
|
||||
.then((response) => response)
|
||||
}
|
||||
|
||||
// Send request to get user token
|
||||
axios
|
||||
|
||||
Reference in New Issue
Block a user