#283 Cipher can be set in ENV file

This commit is contained in:
Tastenbimbo 2017-01-20 08:54:43 +01:00
parent a0baab580a
commit 7d1cbdf298
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -92,7 +92,7 @@ return [
*/
'key' => env('APP_KEY', 'SomeRandomString'),
'cipher' => MCRYPT_RIJNDAEL_128,
'cipher' => env('APP_CIPHER', 'MCRYPT_RIJNDAEL_128'),
/*
|--------------------------------------------------------------------------