Skip to content

Commit 05d2c80

Browse files
committed
refactor: remove double instance of auth('session')->getAuthenticator()
1 parent 66dd73d commit 05d2c80

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Controllers/LoginController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ public function loginAction(): RedirectResponse
6161
return redirect()->route('login')->withInput()->with('error', $result->reason());
6262
}
6363

64-
/** @var Session $authenticator */
65-
$authenticator = auth('session')->getAuthenticator();
66-
6764
// If an action has been defined for login, start it up.
6865
if ($authenticator->hasAction()) {
6966
return redirect()->route('auth-action-show')->withCookies();

0 commit comments

Comments
 (0)