#283 Cipher can be set in ENV file
This commit is contained in:
parent
a0baab580a
commit
7d1cbdf298
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ return [
|
|||
*/
|
||||
|
||||
'key' => env('APP_KEY', 'SomeRandomString'),
|
||||
'cipher' => MCRYPT_RIJNDAEL_128,
|
||||
'cipher' => env('APP_CIPHER', 'MCRYPT_RIJNDAEL_128'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue