Skip to content

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

Description

@kabanoki

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;
 }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions