From 699f0a015d46e23d9cdc334da2565753a7b5ae30 Mon Sep 17 00:00:00 2001 From: rahmatrafli1 Date: Mon, 10 Feb 2025 11:22:20 +0700 Subject: [PATCH] Mengubah redirect ketika sudah login ke halaman index bukan ke dashborad --- app/Http/Controllers/AuthenticationController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/AuthenticationController.php b/app/Http/Controllers/AuthenticationController.php index 16caa30..b7fbc5f 100644 --- a/app/Http/Controllers/AuthenticationController.php +++ b/app/Http/Controllers/AuthenticationController.php @@ -28,7 +28,8 @@ class AuthenticationController extends Controller $request->session()->regenerate(); - return redirect()->intended(('dashboard')); + // return redirect()->intended(('dashboard')); + return redirect('/'); } /**