mirror of https://github.com/jumpserver/jumpserver
Merge pull request #3253 from jumpserver/dev_session
[Update] Session protocol 添加 telnet 选项pull/3254/head
commit
ef122ec169
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.1.7 on 2019-09-23 07:29
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('terminal', '0014_auto_20181226_1441'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='session',
|
||||
name='protocol',
|
||||
field=models.CharField(choices=[('ssh', 'ssh'), ('rdp', 'rdp'), ('vnc', 'vnc'), ('telnet', 'telnet')], default='ssh', max_length=8),
|
||||
),
|
||||
]
|
|
@ -147,7 +147,8 @@ class Session(OrgModelMixin):
|
|||
PROTOCOL_CHOICES = (
|
||||
('ssh', 'ssh'),
|
||||
('rdp', 'rdp'),
|
||||
('vnc', 'vnc')
|
||||
('vnc', 'vnc'),
|
||||
('telnet', 'telnet'),
|
||||
)
|
||||
|
||||
id = models.UUIDField(default=uuid.uuid4, primary_key=True)
|
||||
|
|
Loading…
Reference in New Issue