From 03ea58550a4ace5c588b77be0ddea466a2ec929a Mon Sep 17 00:00:00 2001 From: Vincent Amstoutz Date: Fri, 8 Aug 2025 11:43:18 +0200 Subject: [PATCH] fix(user): remove deprecated eraseCredentials --- symfony/user.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/symfony/user.md b/symfony/user.md index 6d76f0523a2..4e504e23bed 100644 --- a/symfony/user.md +++ b/symfony/user.md @@ -139,14 +139,6 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface { return (string) $this->email; } - - /** - * @see UserInterface - */ - public function eraseCredentials(): void - { - $this->plainPassword = null; - } } ``` @@ -258,7 +250,6 @@ final readonly class UserPasswordHasher implements ProcessorInterface $data->getPlainPassword() ); $data->setPassword($hashedPassword); - $data->eraseCredentials(); return $this->processor->process($data, $operation, $uriVariables, $context); }