Legislature holds sexual harassment training