Learnosity, an e-learning platform with more than 40 million learners, has disclosed a cybersecurity incident.