From 70ba0f7de807d67e744d50bd06db990e13287fbd Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Thu, 2 Oct 2025 08:22:13 +0700 Subject: [PATCH] fix(login): menghapus redirect ketika login gagal --- app/Livewire/Auth/Login.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Livewire/Auth/Login.php b/app/Livewire/Auth/Login.php index aa68643..bcd6b1c 100644 --- a/app/Livewire/Auth/Login.php +++ b/app/Livewire/Auth/Login.php @@ -39,15 +39,13 @@ public function auth() duration: 3000 ); - $this->redirectRoute('login', navigate: true); - return; } if (auth()->user()->status !== UserStatus::ACTIVE) { auth()->logout(); - $this->redirectRoute('login', navigate: true); + return; } Flux::toast(