use APP_KEY from environment if available for the secret key

This commit is contained in:
Wing Lian
2014-11-12 15:52:49 -05:00
committed by Wing Lian
parent e3e7cc499f
commit 858bf03610

View File

@@ -78,7 +78,7 @@ return [
| |
*/ */
'key' => 'YourSecretKey!!!', 'key' => getenv('APP_KEY') ?: 'YourSecretKey!!!',
'cipher' => MCRYPT_RIJNDAEL_128, 'cipher' => MCRYPT_RIJNDAEL_128,