Skip to content

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

@kabanoki

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

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