Name |
Last commit
|
Last update |
---|---|---|
.. | ||
djangoapps | ||
lib | ||
static | ||
templates | ||
test | ||
.gitignore | ||
README.rst | ||
__init__.py |
The get_or_create function is vulnerable to race conditions in MySQL, which can cause the model LoginFailure to, in some cases, have more than one row for the same user, breaking the login for that user. Addinf functionality to expect and clean the error by deleting extra rows (by oldest lockout date), leaving just one entry and allowing the user to login. Replayed and squashed by @efischer19, initially commited by @laq
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
djangoapps | Loading commit data... | |
lib | Loading commit data... | |
static | Loading commit data... | |
templates | Loading commit data... | |
test | Loading commit data... | |
.gitignore | Loading commit data... | |
README.rst | Loading commit data... | |
__init__.py | Loading commit data... |