Files
edx-platform/openedx/core/djangoapps/user_authn
Tim McCormack 5edc8fd380 Remove test for PREVENT_AUTH_USER_WRITES since code breaks in Django 2 (#23536)
...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).
2020-03-30 20:28:18 +00:00
..
2019-12-30 10:35:30 -05:00
2019-12-30 10:35:30 -05:00
2020-02-27 08:58:45 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 10:35:30 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 10:35:30 -05:00

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
==================