mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
feat(monitoring): add pulse
- Added a new gate called `viewPulse` in the `AuthServiceProvider` class. - The gate allows only admin users to view the Pulse feature.
This commit is contained in:
@@ -52,3 +52,8 @@ Route::get('/assets', [
|
||||
AssetsController::class,
|
||||
'index'
|
||||
])->name('assets.index');
|
||||
|
||||
|
||||
Route::get(config('app.login_route'), function () {
|
||||
return redirect('/pulse');
|
||||
})->name('login')->middleware('auth.basic');
|
||||
|
||||
Reference in New Issue
Block a user