Skip to content

Commit c22f2b0

Browse files
wip
1 parent 50aa965 commit c22f2b0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,6 @@ use Illuminate\Validation\Rule;
170170

171171
class ContactFormRequest extends FormRequest
172172
{
173-
public function authorize(): bool
174-
{
175-
return true;
176-
}
177-
178173
public function rules(): array
179174
{
180175
return [
@@ -184,13 +179,6 @@ class ContactFormRequest extends FormRequest
184179
'g-recaptcha-response' => ['required', 'string', Rule::googleRecaptchaV3()],
185180
];
186181
}
187-
188-
public function messages(): array
189-
{
190-
return [
191-
'g-recaptcha-response.required' => 'Please complete the reCAPTCHA verification.',
192-
];
193-
}
194182
}
195183
```
196184

0 commit comments

Comments
 (0)