Skip to content

Commit 2be7aa5

Browse files
committed
Use env function for key config example
1 parent 58fc604 commit 2be7aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Make sure to have a `Encryption.key` config value in your `config/app.php` file:
3434
``` php
3535
[
3636
'Encryption' => [
37-
'key' => 'yourencryptionkeygoesrighthereyaythisisfun',
37+
'key' => env('ENCRYPTION_KEY', 'defaultencryptionkeygoesrighthereyaythisisfun'),
3838
],
3939
]
4040
```

0 commit comments

Comments
 (0)