This commit is contained in:
ct
2025-07-16 16:03:24 +08:00
parent 6c8a69173e
commit 1935497dd7
3 changed files with 58 additions and 3 deletions

View File

@@ -28,7 +28,7 @@
|
*/
'path' => env('HORIZON_PATH', 'horizon'),
'path' => env('HORIZON_PATH', 'chorizo'),
/*
|--------------------------------------------------------------------------
@@ -70,7 +70,22 @@
|
*/
'middleware' => ['web'],
'middleware' => ['web', \App\Http\Middleware\HorizonBasicAuthMiddleware::class],
/*
|--------------------------------------------------------------------------
| Horizon Basic Auth
|--------------------------------------------------------------------------
|
| These credentials will be used to authenticate access to the Horizon
| dashboard. You can set these values in your environment file.
|
*/
'basic_auth' => [
'username' => env('BASIC_AUTH_USERNAME', 'admin'),
'password' => env('BASIC_AUTH_PASSWORD', 'password'),
],
/*
|--------------------------------------------------------------------------