-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add optional logging of failed login attempts
If LOG_FAILED_LOGINS is True in .env then this will use the user_login_failed signal to send some basic details about failed logins if logging is configured. Hopefully helpful to try and work out why users are unable to log in. Note that this does not include the reason shown to the user but does say if the account is present, active and has a marker object.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters