Skip to content

Commit 6b57ac9

Browse files
committed
reject remember-me token if user check fails
1 parent 009aa8e commit 6b57ac9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)