Skip to content

Commit 628c0d8

Browse files
authored
Merge pull request #460 from datamweb/remove-double-authenticator
refactor: remove double instance of `auth('session')`
2 parents 66dd73d + 05d2c80 commit 628c0d8

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)