mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-10 19:27:05 +02:00
Allow user to delete session key
This commit is contained in:
@@ -198,7 +198,7 @@ class SessionKey(models.Model):
|
||||
ordering = ['user__username']
|
||||
|
||||
def __str__(self):
|
||||
return self.user.username
|
||||
return self.userkey.user.username
|
||||
|
||||
def save(self, master_key=None, *args, **kwargs):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user