Skip to content

Commit 16bd4c1

Browse files
authored
avoid empty key (#1505)
1 parent 4bc034b commit 16bd4c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Middleware/Checks/IsInstalled.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function assert(): bool
2222
try {
2323
return
2424
config('app.key') !== null &&
25+
config('app.key') !== '' &&
2526
Schema::hasTable('configs');
2627
} catch (QueryException $e) {
2728
// Authentication to DB failled.

0 commit comments

Comments
 (0)