diff --git a/src/Controllers/LoginController.php b/src/Controllers/LoginController.php index 81e2c6019..f7c9248fa 100644 --- a/src/Controllers/LoginController.php +++ b/src/Controllers/LoginController.php @@ -61,9 +61,6 @@ public function loginAction(): RedirectResponse return redirect()->route('login')->withInput()->with('error', $result->reason()); } - /** @var Session $authenticator */ - $authenticator = auth('session')->getAuthenticator(); - // If an action has been defined for login, start it up. if ($authenticator->hasAction()) { return redirect()->route('auth-action-show')->withCookies();