From fedfea90cdeb6a7bf96f143d0838581758fb5668 Mon Sep 17 00:00:00 2001 From: gdarko Date: Mon, 29 Jan 2024 02:07:07 -0600 Subject: [PATCH] Fix duplicate character in generated hashes Pull: https://github.com/crater-invoice/crater/pull/1150 / Issue: https://github.com/crater-invoice/crater/issues/1142 --- config/hashids.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/hashids.php b/config/hashids.php index e4fd27ce..4942314c 100644 --- a/config/hashids.php +++ b/config/hashids.php @@ -46,32 +46,32 @@ return [ Invoice::class => [ 'salt' => Invoice::class.config('app.key'), 'length' => 20, - 'alphabet' => 'XKyIAR7mgt8jD2vbqPrOSVenNGpiYLx4M61T', + 'alphabet' => 'XKAR7m8jD2bqP9OSVeNGiYL465T10zhfWuc3', ], Estimate::class => [ 'salt' => Estimate::class.config('app.key'), 'length' => 20, - 'alphabet' => 'yLJWP79M8rYVqbn1NXjulO6IUDdvekRQGo40', + 'alphabet' => 'yJW2P79M8rCHsVq5zbn1fXl6IUt3dAekGo40', ], Payment::class => [ 'salt' => Payment::class.config('app.key'), 'length' => 20, - 'alphabet' => 'asqtW3eDRIxB65GYl7UVLS1dybn9XrKTZ4zO', + 'alphabet' => 'aqW3eR2Icf0jp65Gl7UVS1dhyb8Mn9XKTZ4O', ], Company::class => [ 'salt' => Company::class.config('app.key'), 'length' => 20, - 'alphabet' => 's0DxOFtEYEnuKPmP08Ch6A1iHlLmBTBVWms5', + 'alphabet' => 's0D7xOFYEqn2uKJm3Pr9g8Cz46A1iHLBTVW5', ], EmailLog::class => [ 'salt' => EmailLog::class.config('app.key'), 'length' => 20, - 'alphabet' => 'BRAMEz5str5UVe9oCqzoYY2oKgUi8wQQSmrR', + 'alphabet' => 'BA5tJUVNPe93fCq6DHlY2x4ZO1Kg7i8wSm0R', ], Transaction::class => [ 'salt' => Transaction::class.config('app.key'), 'length' => 20, - 'alphabet' => 'ADyQWE8mgt7jF2vbnPrKLJenHVpiUIq4M12T', + 'alphabet' => 'ADyWE86Cg7jF23vS0bonXrZ5KLH9puIQ4M1T', ], ], ];