Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting status code 404, not found on one of UAT server. #267

Open
mohitlandageneosoft opened this issue Jun 14, 2023 · 1 comment
Open

Comments

@mohitlandageneosoft
Copy link

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.

@Vladimir1247
Copy link

Vladimir1247 commented Dec 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants