show errors for recaptcha

This commit is contained in:
Čarodej
2022-05-09 10:33:39 +02:00
parent 2c933c65a7
commit e9824bb807
3 changed files with 30 additions and 11 deletions
+1
View File
@@ -2,6 +2,7 @@
#### Release date: 9. May 2022 #### Release date: 9. May 2022
- Ability to manually synchronize plans in fixed subscription type - Ability to manually synchronize plans in fixed subscription type
- Improved sanitization for .env values to prevent crash your app - Improved sanitization for .env values to prevent crash your app
- Improved reCaptcha validation error logs
## Version 2.1.2 ## Version 2.1.2
#### Release date: 8. May 2022 #### Release date: 8. May 2022
Generated
+23 -11
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "a92e9350b2f10161aaed976505d7c360", "content-hash": "9ec812c4e7c97cf3548f9130c95f644b",
"packages": [ "packages": [
{ {
"name": "amphp/amp", "name": "amphp/amp",
@@ -4505,11 +4505,17 @@
}, },
{ {
"name": "makingcg/subscription", "name": "makingcg/subscription",
"version": "dev-main", "version": "1.0.6",
"source": {
"type": "git",
"url": "git@github.com:VueFileManager/subscription.git",
"reference": "73ef544e3c8f9a27904c4aaa53e39dccca5a8402"
},
"dist": { "dist": {
"type": "path", "type": "zip",
"url": "../../PhpstormProjects/subscription", "url": "https://api.github.com/repos/VueFileManager/subscription/zipball/73ef544e3c8f9a27904c4aaa53e39dccca5a8402",
"reference": "9e9e137c7e0a99cc40a46a8da64d479041a0105e" "reference": "73ef544e3c8f9a27904c4aaa53e39dccca5a8402",
"shasum": ""
}, },
"require": { "require": {
"friendsofphp/php-cs-fixer": "^3.6.0", "friendsofphp/php-cs-fixer": "^3.6.0",
@@ -4593,9 +4599,17 @@
"laravel", "laravel",
"subscription" "subscription"
], ],
"transport-options": { "support": {
"relative": true "source": "https://github.com/VueFileManager/subscription/tree/1.0.6",
} "issues": "https://github.com/VueFileManager/subscription/issues"
},
"funding": [
{
"type": "github",
"url": "https://github.com/VueFileManager"
}
],
"time": "2022-05-09T07:44:28+00:00"
}, },
{ {
"name": "matthewbdaly/laravel-azure-storage", "name": "matthewbdaly/laravel-azure-storage",
@@ -14807,9 +14821,7 @@
], ],
"aliases": [], "aliases": [],
"minimum-stability": "dev", "minimum-stability": "dev",
"stability-flags": { "stability-flags": [],
"makingcg/subscription": 20
},
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
+6
View File
@@ -256,6 +256,12 @@ export default {
'Your New Password': error.response.data.errors['password'], 'Your New Password': error.response.data.errors['password'],
}) })
} }
if (error.response.data.errors['reCaptcha']) {
events.$emit('alert:open', {
title: error.response.data.message,
})
}
} }
}) })
.finally(() => { .finally(() => {