isVerified()) { throw new CustomUserMessageAuthenticationException('Your email address is not verified.'); } } public function checkPostAuth(UserInterface $user): void { } }