Should have concealed it better, and kept it concealed.
“What ‘they’ don’t know, can’t hurt me.”
There is the rub.
Maybe she should have been upfront and tried to get company policy changed.
It can when they find out. As she discovered.