8000 reject remember-me token if user check fails · symfony/symfony@fe190b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit fe190b6

Browse files
committed
reject remember-me token if user check fails
1 parent 5e0bb5f commit fe190b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Security/Core/Authentication/Provider/RememberMeAuthenticationProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public function authenticate(TokenInterface $token)
4949

5050
$user = $token->getUser();
5151
$this->userChecker->checkPreAuth($user);
52+
$this->userChecker->checkPostAuth($user);
5253

5354
$authenticatedToken = new RememberMeToken($user, $this->providerKey, $this->key);
5455
$authenticatedToken->setAttributes($token->getAttributes());

0 commit comments

Comments
 (0)
0