diff --git a/.env.example b/.env.example index 495c86ba..4cdfe3e7 100644 --- a/.env.example +++ b/.env.example @@ -1,9 +1,9 @@ APP_ENV=production APP_DEBUG=false APP_URL= -APP_CIPHER=rijndael-128 +APP_CIPHER=AES-256-CBC APP_KEY= -APP_TIMEZONE +APP_TIMEZONE= DB_TYPE=mysql DB_HOST=db diff --git a/config/app.php b/config/app.php index 1fa1cf8f..531ba341 100644 --- a/config/app.php +++ b/config/app.php @@ -92,7 +92,7 @@ return [ */ 'key' => env('APP_KEY', 'SomeRandomString'), - 'cipher' => MCRYPT_RIJNDAEL_128, + 'cipher' => env('APP_CIPHER', 'MCRYPT_RIJNDAEL_128'), /* |--------------------------------------------------------------------------