Merge pull request #3253 from jumpserver/dev_session

[Update] Session protocol 添加 telnet 选项
pull/3254/head
BaiJiangJie 5 years ago committed by GitHub
commit ef122ec169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save