Update
This commit is contained in:
@@ -2,6 +2,21 @@
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Basic Auth
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Basic auth credentials for Laravel Horizon.
|
||||
|
|
||||
*/
|
||||
|
||||
'basic_auth' => [
|
||||
'username' => env('BASIC_AUTH_USERNAME'),
|
||||
'password' => env('BASIC_AUTH_PASSWORD'),
|
||||
],
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Defaults
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
'prefix' => env(
|
||||
'HORIZON_PREFIX',
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_').'_horizon:'
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_') . '_horizon:'
|
||||
),
|
||||
|
||||
/*
|
||||
@@ -70,7 +70,7 @@
|
||||
|
|
||||
*/
|
||||
|
||||
'middleware' => ['web'],
|
||||
'middleware' => ['web', App\Http\Middleware\BasicAuthMiddleware::class],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user