Skip to content

Commit

Permalink
Make sure user is authenticated
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkRedeman committed Jan 10, 2021
1 parent 63802c5 commit 23821a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@

Route::get('boards', [BoardsController::class, 'index']);
Route::get('boards/birthdays', [BirthdaysController::class, 'index'])
->middleware(['role:Board|Old Board|Candidate Board|Demissioned Board|Decharged Board']);
->middleware(['auth', 'role:Board|Old Board|Candidate Board|Demissioned Board|Decharged Board']);

Route::get('boards/kandi-toto', [KandiTotoController::class, 'index'])
->middleware(['role:Board|Old Board|Candidate Board|Demissioned Board|Decharged Board']);
->middleware(['auth', 'role:Board|Old Board|Candidate Board|Demissioned Board|Decharged Board']);
Route::post('boards/kandi-toto', [KandiTotoController::class, 'store'])
->middleware(['role:Board|Old Board|Candidate Board|Demissioned Board|Decharged Board']);
->middleware(['auth', 'role:Board|Old Board|Candidate Board|Demissioned Board|Decharged Board']);

Route::get('photos/login', [AuthenticationController::class, 'index']);
Route::post('photos', [AuthenticationController::class, 'store']);
Expand Down

0 comments on commit 23821a9

Please sign in to comment.