Skip to content

Commit 9fa23e3

Browse files
committed
!squash returned salt check stmt
1 parent d631539 commit 9fa23e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ private function hasUserChanged(UserInterface $user)
254254
return true;
255255
}
256256

257+
if ($this->user->getSalt() !== $user->getSalt()) {
258+
return true;
259+
}
260+
257261
$rolesChanged = \count(
258262
array_diff(
259263
array_map([$this, 'castRole'], (array) $this->user->getRoles()),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy