@ -30,7 +30,7 @@ class TemporaryUserProvider implements UserProviderInterface
public function supportsClass($class)
{
return $class === TemporaryUser::class;
return is_subclass_of($class, TemporaryUser::class);
}
public function refreshUser(UserInterface $user)