django-mfa3

multi factor authentication for django
git clone https://git.ce9e.org/django-mfa3.git

commit
9390c4828cf37ee6fe6898020b17dee4f3ac8f29
parent
dd13aea88032e278d2419bb4b672389a7c14c015
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-01-20 12:59
tweak admin

Diffstat

M mfa/admin.py 4 +++-

1 files changed, 3 insertions, 1 deletions


diff --git a/mfa/admin.py b/mfa/admin.py

@@ -23,4 +23,6 @@ def patch_admin():
   23    23 
   24    24 @admin.register(MFAKey)
   25    25 class MFAKeyAdmin(admin.ModelAdmin):
   26    -1     list_display = ['name', 'user', 'method']
   -1    26     list_display = ['user', 'method', 'name']
   -1    27     search_fields = ['user__username', 'name']
   -1    28     list_filter = ['method']