You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LOGIN_FAILURE_LIMIT shouldn't apply for usernames that don't exist in the app, but currently an exception is raised when this happens.
To reproduce set LOGIN_FAILURE_LIMIT to 1 and try to log in with a username that doesn't exist.
File "/env/lib/python3.6/site-packages/useraudit/models.py", line 133, in callback
username = user.get_username()
AttributeError: 'NoneType' object has no attribute 'get_username'
The text was updated successfully, but these errors were encountered:
The
LOGIN_FAILURE_LIMIT
shouldn't apply for usernames that don't exist in the app, but currently an exception is raised when this happens.To reproduce set
LOGIN_FAILURE_LIMIT
to1
and try to log in with a username that doesn't exist.The text was updated successfully, but these errors were encountered: