This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Entity;
|
||||
|
||||
use App\Enum\UserRoleEnum;
|
||||
use App\Repository\UserRepository;
|
||||
use Deprecated;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
@@ -120,6 +121,7 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
||||
/**
|
||||
* @see UserInterface
|
||||
*/
|
||||
#[Deprecated("Not used after Symfony 7.3")]
|
||||
public function eraseCredentials(): void
|
||||
{
|
||||
// If you store any temporary, sensitive data on the user, clear it here
|
||||
|
||||
Reference in New Issue
Block a user