Should you discount your salary to get your foot in the door?

Should you discount your salary to get your foot in the door?

If you tell an employer you’ll accept a lower salary, will that help you get your foot in the door? Is that even worth trying?