Or use some opaque tape to cover it. Either way will work. If you use a resistor, use a variable resistor to figure out the actual resistance you need. Then replace the variable resistor with a fixed one of the correct value. Easier than trial and error.