diff --git a/CHANGELOG.md b/CHANGELOG.md index cbc9834..433af3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to `laravel-turnstile` will be documented in this file. +## v1.0.2 - 2023-05-30 + +### What's Changed + +- Component Prefix by @ousid in https://github.com/coderflexx/laravel-turnstile/pull/2 + +**Full Changelog**: https://github.com/coderflexx/laravel-turnstile/compare/v1.0.1...v1.0.2 + ## v1.0.1 - 2023-05-30 ### What's Changed diff --git a/resources/views/components/turnstile-widget.blade.php b/resources/views/components/turnstile-widget.blade.php index c7f0c1a..52f2a61 100644 --- a/resources/views/components/turnstile-widget.blade.php +++ b/resources/views/components/turnstile-widget.blade.php @@ -16,4 +16,4 @@ 'data-size' => $size, ]) }}> - \ No newline at end of file + \ No newline at end of file diff --git a/src/Rules/TurnstileCheck.php b/src/Rules/TurnstileCheck.php index f5e2774..059aa5c 100644 --- a/src/Rules/TurnstileCheck.php +++ b/src/Rules/TurnstileCheck.php @@ -13,7 +13,7 @@ class TurnstileCheck implements ValidationRule */ public function validate(string $attribute, mixed $value, Closure $fail): void { - $response = LaravelTurnstile::validate(); + $response = LaravelTurnstile::validate($value); if (! $response['success']) { $fail(__(config('turnstile.error_messages.turnstile_check_message')));