mariusbalcytis / gentle-force-bundle

Symfony bundle for brute-force, error and request rate limiting
MIT License
54 stars 14 forks source link

Omitting 'redis' key in config.yml gives Undefined index: redis error #5

Closed yubinchen18 closed 4 years ago

yubinchen18 commented 6 years ago

Omitting 'redis' key in config.yml gives

(1/1) ContextErrorException
Notice: Undefined index: redis

so you can't configure the bundle without using a redis caching service?

mariusbalcytis commented 6 years ago

Redis is a strict requirement at the moment as locking mechanism and all the counters are stored in there.

There's an open issue in library repository, but I don't know if someone would really use any of other integrations.

In bundle configuration that key should be made required so that developer would have nicer error message.