diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index 3cf3b7a..51d690c 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -40,11 +40,9 @@ public function register(Request $request) 'role' => 'user', ]); - // Authenticate the new account - Auth::login($account); // Redirect to homepage - return redirect('home'); + return redirect('login'); } }