learningequality / ka-lite

KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity
https://learningequality.org/ka-lite/
Other
456 stars 306 forks source link

Simplified login does not work if there are more than 1,000 users #5523

Closed mrpau-eugene closed 6 years ago

mrpau-eugene commented 6 years ago

Summary

It was originally a report from Edulution's feedback:

We noticed that this is due to the API request (securesync/api/user/facility&is_teacher=false) only returning 1000 objects from the students table at the login screen. To overcome this, we simply deleted inactive student accounts at each facility until they were less than 1000. However, this is only a temporary solution. A more permanent fix to enable >1000 learners to login via simplified login even would be appreciated

System information

Please specify the KA Lite version you were using and your operating system!

Real-life consequences (anything community should be aware, for instance how it affects your deployment)

We don't want users to only login when it's less than a thousand users registered.

benjaoming commented 6 years ago

FYI @Aypak :)