From e26ca223d9700f30908b488bfa9648f98bbac67f Mon Sep 17 00:00:00 2001 From: Lupu Gheorghe Date: Tue, 29 Aug 2023 14:34:06 +0300 Subject: [PATCH] fix welcome route --- routes/auth.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/routes/auth.php b/routes/auth.php index f9bf0fc3..aac2b31e 100644 --- a/routes/auth.php +++ b/routes/auth.php @@ -30,6 +30,12 @@ Route::patch('usrupdate/{id}', [RegisteredUserController::class, 'update'])->name('user.update'); Route::get('admin/welcome/{user}', Welcome::class)->name('filament.auth.welcome'); +Route::middleware(config('filament.middleware.base')) + ->domain(config('filament.domain')) + ->prefix(config('filament.path')) + ->group(function () { + Route::get('/welcome/{user}', Welcome::class)->name('filament.auth.welcome'); + }); Route::get('ngo/welcome/{user}', [PasswordController::class,'setInitialPassword'])->name('ngo.user.welcome'); Route::post('ngo/welcome/{user}', [PasswordController::class,'storeInitialPassword'])->name('ngo.user.welcome.store');