Closed janklan closed 2 years ago
Hi @janklan, this doesn't seem like an issue of this bundle, have you tried to do the same in a Symfony package configuration? maybe it has to do with the nodes that can be disabled or enabled.
You're probably right. And I was probably dealing with some sort of container cache on my end. I can't reproduce it now, after playing around a little bit.
Sorry to waste your time.
The subject says it all. When I try to use an environment variable to turn something on/off, I get a following error:
Environment variables "bool:FORCE_SSL" are never used. Please, check your container's configuration.
Versions:
Working configuration:
Broken configuration:
I ran following experiments:
parameters
section: didn't helpInvalid type for path "nelmio_security.forced_ssl.enabled". Expected "bool", but got "string".
or whatever type did I use. Using(int) 0
is not coerced tofalse
nelmio_security.referrer_policy.enabled
: same result