Getting status code 404, not found on one of UAT server.
Hello , I have installed the mews/captcha package on local for one of my laravel project having version 5.5. It works fine on local, I have uploaded vendor folder along with app.php, captcha.php configuration files on UAT server as we can not install composer on server. I am getting status code 404, not found from captcha url. Route is exists and 404 is returned by the captcha package. Its working fine on same server in another project.
Hi! Check the 'disable' key in config\captcha.php and CAPTCHA_DISABLE in .env. Especially the first one - instead of the normal 'disable' => env('CAPTCHA_DISABLE', false), the default is 'disable' => env('CAPTCHA_DISABLE', !str_contains(env('APP_ENV', 'local'), 'prod')) now.