mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 04:31:08 -04:00
Merge branch 'unique-hash' into 'master'
Unique hash See merge request mohit.panjvani/crater-web!633
This commit is contained in:
@ -35,6 +35,7 @@ class DatabaseConfigurationController extends Controller
|
|||||||
$results = $this->environmentManager->saveDatabaseVariables($request);
|
$results = $this->environmentManager->saveDatabaseVariables($request);
|
||||||
|
|
||||||
if (array_key_exists("success", $results)) {
|
if (array_key_exists("success", $results)) {
|
||||||
|
Artisan::call('key:generate');
|
||||||
Artisan::call('config:clear');
|
Artisan::call('config:clear');
|
||||||
Artisan::call('cache:clear');
|
Artisan::call('cache:clear');
|
||||||
Artisan::call('storage:link');
|
Artisan::call('storage:link');
|
||||||
|
|||||||
@ -41,19 +41,19 @@ return [
|
|||||||
|
|
||||||
'connections' => [
|
'connections' => [
|
||||||
Invoice::class => [
|
Invoice::class => [
|
||||||
'salt' => Invoice::class.'7623e9b0009feff8e024a689d6ef59ce',
|
'salt' => Invoice::class.config('app.key'),
|
||||||
'length' => '20',
|
'length' => '20',
|
||||||
'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
|
'alphabet' => 'XKyIAR7mgt8jD2vbqPrOSVenNGpiYLx4M61T'
|
||||||
],
|
],
|
||||||
Estimate::class => [
|
Estimate::class => [
|
||||||
'salt' => Estimate::class.'7623e9b0009feff8e024a689d6ef59ce',
|
'salt' => Estimate::class.config('app.key'),
|
||||||
'length' => '20',
|
'length' => '20',
|
||||||
'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
|
'alphabet' => 'yLJWP79M8rYVqbn1NXjulO6IUDdvekRQGo40'
|
||||||
],
|
],
|
||||||
Payment::class => [
|
Payment::class => [
|
||||||
'salt' => Payment::class.'7623e9b0009feff8e024a689d6ef59ce',
|
'salt' => Payment::class.config('app.key'),
|
||||||
'length' => '20',
|
'length' => '20',
|
||||||
'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
|
'alphabet' => 'asqtW3eDRIxB65GYl7UVLS1dybn9XrKTZ4zO'
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user