...and it turns out we don't need the switch anymore, anyway. When we upgraded to Django 1.11, this flag was added in order to allow for a database migration that would render the user table unwriteable for up to half an hour: https://github.com/edx/edx-platform/pull/17561 This involved swapping out the signal handler for logins via `user_logged_in.disconnect(django_update_last_login)`, but with Django 2.0, that disconnect is silently failing (returning false). Likely the disconnect is now happening too soon. (See edx-platform/common/djangoapps/student/apps.py line 21 in 61e1eda.) The result is that by the time the waffle switch is consulted, the normal handler has already run, and the user's last login date has already been updated. For now we're just removing the test, and have filed ARCHBOM-1084 for followup (deleting the switch and related code).
Status: Maintenance Responsibilities ================ The ``user_authn`` app contains user authentication related features such as login, registration, and credential management. Direction: Extract ================== Ideally this would be in its own service, but at this point, LMS is the home of all authentication related features. At this time, these features are still plugged into Studio. Future clean-up in Studio is intended to make this an LMS only feature. Glossary ======== More Documentation ==================