From 858bf03610cfca50a896ac6d954ad09948b0d429 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Wed, 12 Nov 2014 15:52:49 -0500 Subject: [PATCH] use APP_KEY from environment if available for the secret key --- config/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/app.php b/config/app.php index d4a04a0d..9df9d6f1 100644 --- a/config/app.php +++ b/config/app.php @@ -78,7 +78,7 @@ | */ - 'key' => 'YourSecretKey!!!', + 'key' => getenv('APP_KEY') ?: 'YourSecretKey!!!', 'cipher' => MCRYPT_RIJNDAEL_128,