Open
Description
I suggest to use config('app.key')
instead of env('APP_KEY')
in HasEncryptedAttributes.php:192.
According to Configuration Caching:
If you execute the
config:cache
command during your deployment process, you should be sure that you are only calling theenv
function from within your configuration files. Once the configuration has been cached, the.env
file will not be loaded and all calls to theenv
function will returnnull
.
Metadata
Metadata
Assignees
Labels
No labels