-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Security] Deprecate UserInterface & TokenInterface's `eraseCredentials… #20616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There are 2 references to security.rstOutput of maker-bundle Lines 196 to 203 in 5b70521
I created symfony/maker-bundle#1700, so when it's done, we can remove this part. reference/configuration/security.rstsymfony-docs/reference/configuration/security.rst Lines 48 to 54 in 5b70521
We should probably add a deprecated directive or note section. @nicolas-grekas #[\Deprecated]
public function eraseCredentials(): void
{
}
// If your eraseCredentials() method was used to empty a "password" property:
public function __serialize(): array
{
$data = (array) $this;
unset($data["\0".self::class."\0password"]);
return $data;
} In symfony 8.0, does |
They should become unused so could be removed indeed. |
We created this issue to not forget to document this new feature. We would really appreciate if you can help us with this task. If you are not sure how to do it, please ask us and we will help you.
To fix this issue, please create a PR against the 7.3 branch in the symfony-docs repository.
Thank you! 😃
The text was updated successfully, but these errors were encountered: