Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Commit 3e41fe0

Browse files
committed
Don't use env while caching
Fixes #5
1 parent 5b0f3ce commit 3e41fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HasHashSlug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private static function getHashids(){
6161
$alphabet = config('hashslug.alphabet', 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890');
6262
}
6363

64-
$salt = config('hashslug.appsalt', env('APP_KEY')) . $modelSalt;
64+
$salt = config('hashslug.appsalt', config('app.key')) . $modelSalt;
6565

6666
// This is impotant!
6767
// Don't use a weak hash, otherwise

0 commit comments

Comments
 (0)