mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
10653 log failed login attempts on INFO (#10843)
* 10653 log failed login attempts on INFO * 10653 use signal to log failed login attempts * 10653 use signal to log failed login attempts * Update netbox/users/signals.py Co-authored-by: Jeremy Stretch <jstretch@ns1.com> * Update netbox/users/apps.py Co-authored-by: Jeremy Stretch <jstretch@ns1.com> Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
This commit is contained in:
8
netbox/users/apps.py
Normal file
8
netbox/users/apps.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class UsersConfig(AppConfig):
|
||||
name = 'users'
|
||||
|
||||
def ready(self):
|
||||
import users.signals
|
||||
Reference in New Issue
Block a user