Skip to content

Commit

Permalink
add login redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Sep 17, 2024
1 parent a8b5efd commit 592faa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

Route::redirect('/', '/auth/login')->middleware('auth')->name('welcome');
Route::redirect('/login', '/auth/login')->middleware('auth')->name('login');
Route::middleware('auth')->group(function () {
Route::get('/dashboard', [\App\Http\Controllers\DashboardController::class,'show'])->name('dashboard');
Route::get('/profile', [ProfileController::class,'show'])->name('profile.show');
Expand Down

0 comments on commit 592faa8

Please sign in to comment.