Skip to content

Commit 25719cb

Browse files
committed
use config app.key instead of env
1 parent 37dc039 commit 25719cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/UtilityService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static function getEncrypter(): Encrypter
2626

2727
protected static function databaseEncryptionKey(): ?string
2828
{
29-
return base64_decode(Str::after(env('APP_KEY'), 'base64:'));
29+
return base64_decode(Str::after(config('app.key'), 'base64:'));
3030
}
3131

3232
public static function getRedirectCode(): int

0 commit comments

Comments
 (0)