You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
, Protector uses env() to read the keys, but on apps that have the configuration cached using config:cache, all calls to env() will return null.
To mitigate, Protector must ONLY read from the config, and set the defaults for the respective config keys using env() there. This has the drawback that the secrets will be cached, but that's a framework concept we cannot work around.
The text was updated successfully, but these errors were encountered:
In
laravel-protector/src/Traits/HasConfiguration.php
Line 240 in 5334e34
laravel-protector/src/Traits/HasConfiguration.php
Line 195 in 5334e34
Protector
usesenv()
to read the keys, but on apps that have the configuration cached usingconfig:cache
, all calls toenv()
will returnnull
.To mitigate,
Protector
must ONLY read from the config, and set the defaults for the respective config keys usingenv()
there. This has the drawback that the secrets will be cached, but that's a framework concept we cannot work around.The text was updated successfully, but these errors were encountered: