mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-22 21:17:30 +00:00
[Update] Session protocol 添加 telnet 选项
This commit is contained in:
parent
6f4d7dd6c6
commit
b5f94d84f7
18
apps/terminal/migrations/0015_auto_20190923_1529.py
Normal file
18
apps/terminal/migrations/0015_auto_20190923_1529.py
Normal file
@ -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 = (
|
PROTOCOL_CHOICES = (
|
||||||
('ssh', 'ssh'),
|
('ssh', 'ssh'),
|
||||||
('rdp', 'rdp'),
|
('rdp', 'rdp'),
|
||||||
('vnc', 'vnc')
|
('vnc', 'vnc'),
|
||||||
|
('telnet', 'telnet'),
|
||||||
)
|
)
|
||||||
|
|
||||||
id = models.UUIDField(default=uuid.uuid4, primary_key=True)
|
id = models.UUIDField(default=uuid.uuid4, primary_key=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user