mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 08:19:04 +00:00
Finish form ajax submmit
This commit is contained in:
@@ -38,14 +38,6 @@ class Terminal(models.Model):
|
||||
self.save()
|
||||
return user, access_key
|
||||
|
||||
@property
|
||||
def is_superuser(self):
|
||||
return False
|
||||
|
||||
@property
|
||||
def is_terminal(self):
|
||||
return True
|
||||
|
||||
def __unicode__(self):
|
||||
active = 'Active' if self.user and self.user.is_active else 'Disabled'
|
||||
return '%s: %s' % (self.name, active)
|
||||
|
Reference in New Issue
Block a user