Skip to content

Commit c6fb1ee

Browse files
authored
Fix recaller name resolution (#41429)
1 parent 5319ddb commit c6fb1ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Session/Middleware/AuthenticateSession.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function handle($request, Closure $next)
4141
}
4242

4343
if ($this->guard()->viaRemember()) {
44-
$passwordHash = explode('|', $request->cookies->get($this->auth->getRecallerName()))[2] ?? null;
44+
$passwordHash = explode('|', $request->cookies->get($this->guard()->getRecallerName()))[2] ?? null;
4545

4646
if (! $passwordHash || $passwordHash != $request->user()->getAuthPassword()) {
4747
$this->logout($request);

0 commit comments

Comments
 (0)