The Nightlight bought a plug is very dangerous to do heat
Night light because it is cheap, so do the time is certainly niaterial. General resistance step-down, and then connected to one or several light-emitting diodes, there is no security, efficiency is not high, fever is positive.
Because it is hot, you can not guarantee that its components are no problem, or too hot, resulting in softening of the shell, there is a danger.
It should be said that the lamp you bought is of poor quality and should not have this situation to see if it can be replaced.