getIsLocked()) { throw new CustomUserMessageAccountStatusException('Ce compte est verrouillé.'); } } public function checkPostAuth(UserInterface $user, ?TokenInterface $token = null): void {} }