redirrect to intented url instead of static

This commit is contained in:
Jérémy Munsch 2023-03-13 13:06:32 +00:00
parent b09c55d67b
commit 169cd549a0

View file

@ -46,6 +46,6 @@ class LoginController extends Controller
*/
protected function redirectTo(): string
{
return \route('bo.dashboard');
return response()->redirectToIntended()->getTargetUrl();
}
}