Move "/" route to middleware auth:web
This commit is contained in:
parent
fbff1a4854
commit
cfd345f739
1 changed files with 2 additions and 2 deletions
|
|
@ -32,8 +32,6 @@ use Illuminate\Support\Facades\Route;
|
|||
|
|
||||
*/
|
||||
|
||||
Route::get('/', [HomeController::class, 'home'])->middleware('guest')->name('home');
|
||||
|
||||
Route::middleware(['throttle:credentials'])->group(function () {
|
||||
// * guest:web middleware specified in AuthController
|
||||
Auth::routes([
|
||||
|
|
@ -58,6 +56,8 @@ Route::get('/ping', function () {
|
|||
})->withoutMiddleware('auth');
|
||||
|
||||
Route::middleware('auth:web')->group(function () {
|
||||
// * Home
|
||||
Route::get('/', [HomeController::class, 'home'])->name('home');
|
||||
|
||||
// * Macro planning
|
||||
Route::get('/macroplanning', [ScheduleMacroController::class, 'show'])->name('macroplanning.show');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue