Skip to content

A free open source IT asset/license management system

Move cipher into the .env

snipeb4bed2a11f19
diff --git a/.env.example b/.env.example
index aa1ac2d294..cd22ea38ea 100644
--- a/.env.example
+++ b/.env.example
@@ -93,3 +93,4 @@ APP_LOCKED=false
FILESYSTEM_DISK=local
APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1
ALLOW_IFRAMING=false
+APP_CIPHER=AES-256-CBC
diff --git a/config/app.php b/config/app.php
index 088c5d5d70..84e8991d38 100755
--- a/config/app.php
+++ b/config/app.php
@@ -106,7 +106,7 @@ return [
'key' => env('APP_KEY'),
- 'cipher' => 'AES-256-CBC',
+ 'cipher' => env('APP_CIPHER', 'AES-256-CBC'),
/*
|--------------------------------------------------------------------------