From 2c086c3bcf9018611d7c890c3855fa78fc31d1b2 Mon Sep 17 00:00:00 2001 From: Fred Bradley Date: Thu, 11 Apr 2024 11:32:22 +0100 Subject: [PATCH] remove `intended` method --- app/Http/Controllers/Auth/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index cb0d56e..b55dc60 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -63,7 +63,7 @@ public function callbackSuccess(Request $request, string $school): RedirectRespo $this->findOrCreateUserAndLogin($output); - return redirect()->intended(route('raiseaconcern.submit')); + return redirect()->to(route('raiseaconcern.submit')); } $debugarray = [