Fixed reCaptcha for the contact form

This commit is contained in:
Čarodej
2022-06-29 12:16:06 +02:00
parent e01fc99ef4
commit 4c52b6a627
8 changed files with 19 additions and 17 deletions

View File

@@ -1,3 +1,7 @@
## Version 2.2.0.14
#### Release date: 29. Jun 2022
- Fixed reCaptcha for the contact form
## Version 2.2.0.13
#### Release date: 29. Jun 2022
- Extended login time up to 3 months

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
public/js/main.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -50,19 +50,19 @@
"/chunks/app-language.js": "/chunks/app-language.js?id=33e69eb36f8578be",
"/chunks/homepage.js": "/chunks/homepage.js?id=612d0b10b26b580c",
"/chunks/dynamic-page.js": "/chunks/dynamic-page.js?id=13d00de1153769c5",
"/chunks/contact-us.js": "/chunks/contact-us.js?id=4dc1d7609f53b59c",
"/chunks/contact-us.js": "/chunks/contact-us.js?id=5573693525bfcb27",
"/chunks/demo.js": "/chunks/demo.js?id=aebe316fa638bbb5",
"/chunks/successfully-email-verified.js": "/chunks/successfully-email-verified.js?id=62ed454569571e25",
"/chunks/successfully-email-send.js": "/chunks/successfully-email-send.js?id=d99d1e9adb974ae7",
"/chunks/sign-in.js": "/chunks/sign-in.js?id=6280ef0a858522c8",
"/chunks/sign-up.js": "/chunks/sign-up.js?id=caeb50ac27194d33",
"/chunks/sign-up.js": "/chunks/sign-up.js?id=8ca080b244f1647f",
"/chunks/forgotten-password.js": "/chunks/forgotten-password.js?id=b06174390d32669c",
"/chunks/create-new-password.js": "/chunks/create-new-password.js?id=3fe56e872c74d485",
"/chunks/settings.js": "/chunks/settings.js?id=47159da321e4ba8d",
"/chunks/profile.js": "/chunks/profile.js?id=87ac69edc17d9245",
"/chunks/settings-password.js": "/chunks/settings-password.js?id=6ee89249d080df79",
"/chunks/settings-storage.js": "/chunks/settings-storage.js?id=a9e2543c5362e459",
"/chunks/billing.js": "/chunks/billing.js?id=c8bdbb1ee5d52c89",
"/chunks/billing.js": "/chunks/billing.js?id=073f5b46e2ef61bf",
"/chunks/platform.js": "/chunks/platform.js?id=f13965206e1e2fad",
"/chunks/files.js": "/chunks/files.js?id=f55e9f88919e0925",
"/chunks/recent-uploads.js": "/chunks/recent-uploads.js?id=847e1649fa88b1fc",

View File

@@ -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

View File

@@ -121,11 +121,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.contact.reCaptcha = await this.$reCaptchaToken('register')
.then((response) => response)
}
// Send request to get user token
axios