mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Initial work on token authentication
This commit is contained in:
8
netbox/users/admin.py
Normal file
8
netbox/users/admin.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import Token
|
||||
|
||||
|
||||
@admin.register(Token)
|
||||
class TokenAdmin(admin.ModelAdmin):
|
||||
list_display = ['user', 'key', 'created', 'expires', 'write_enabled', 'description']
|
Reference in New Issue
Block a user