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

Setting CACHE_STORE to an array consistently results in authentication failures #323

Open
kabanoki opened this issue Dec 12, 2024 · 0 comments

Comments

@kabanoki
Copy link

I'd like to report an issue I encountered during development. When I set CACHE_STORE to an 'array' in .env, the validation process always failed due to an error in the cache check within the check function. However, the issue was resolved when I changed CACHE_STORE to 'apc' or another suitable option.

.env

CACHE_STORE=array

Mews\Captcha\Captcha::check

if (!Cache::pull($this->get_cache_key($key))) {
      $this->session->remove('captcha');
      return false;
 }
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

1 participant