#mews/captcha package returning "validation.captcha"

2 messages · Page 1 of 1 (latest)

lethal smelt
#

Just installed this captcha package on Laravel 11 and I keep getting "validation.captcha" when the validation fails. I followed the README.md instructions.. Here is my validation rule:

    {
        $request->validate([
            'username' => ['required', 'string', 'alpha_dash', 'min:3', 'max:25'],
            'email' => ['required', 'string', 'email:rfc,dns', 'max:255'],
            'password' => ['required', 'confirmed', Rules\Password::defaults()],
            'captcha' => ['required', 'captcha'],
        ]);```

My Blade:
```html
            <x-text-input id="captcha" class="mt-1 block inline" type="text" name="captcha" placeholder="Enter code" required autofocus />
           <x-input-error :messages="$errors->get('captcha')" class="mt-2" />
spring marten
#

What package are you using?