Doing that bypass forces the heating circuit to stay live regardless of whether the door is open, which defeats a safety feature. It’s risky, especially in a household with kids, because the heating elements can stay energized even with the door open. It’s great in a pinch (like feeding hungry kids), but long-term, it’s not recommended. A safer fix would be to replace the faulty door switch (they're cheap and available online) or re-solder a loose connection on the board if that’s the issue.