From e8b954d1bd4866d458f28ed0844a21a833e9b5d5 Mon Sep 17 00:00:00 2001 From: raishvaria Date: Sat, 5 Dec 2020 17:06:22 +0530 Subject: [PATCH] generate unique hash ids --- config/hashids.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/hashids.php b/config/hashids.php index 70248c9d..ddb863a4 100644 --- a/config/hashids.php +++ b/config/hashids.php @@ -41,19 +41,19 @@ return [ 'connections' => [ Invoice::class => [ - 'salt' => Invoice::class.'7623e9b0009feff8e024a689d6ef59ce', + 'salt' => Invoice::class.config('app.key'), 'length' => '20', - 'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' + 'alphabet' => 'XKyIAR7mgt8jD2vbqPrOSVenNGpiYLx4M61T' ], Estimate::class => [ - 'salt' => Estimate::class.'7623e9b0009feff8e024a689d6ef59ce', + 'salt' => Estimate::class.config('app.key'), 'length' => '20', - 'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' + 'alphabet' => 'yLJWP79M8rYVqbn1NXjulO6IUDdvekRQGo40' ], Payment::class => [ - 'salt' => Payment::class.'7623e9b0009feff8e024a689d6ef59ce', + 'salt' => Payment::class.config('app.key'), 'length' => '20', - 'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' + 'alphabet' => 'asqtW3eDRIxB65GYl7UVLS1dybn9XrKTZ4zO' ], ],